You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2010/12/07 07:59:08 UTC

[jira] Commented: (OODT-69) Filemgr Catalogs should load Element based off Element name and ProductType

    [ https://issues.apache.org/jira/browse/OODT-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968602#action_12968602 ] 

Chris A. Mattmann commented on OODT-69:
---------------------------------------

Hmmm interesting. 

I think we discussed this before and the idea was that ValidationLayers are intrinsically tied to the underlying Catalogs that they serve (hence the getValidationLayer() as part of the explicit o.a.oodt.cas.filemgr.catalog.Catalog interface). There used to be a method to getElementById, which should deal with this issue (an element ID could be namespaced, e.g., urn:ptype:elemid) where *ptype* is *Product Type*. This should aid in differentiating them and I think would work as a solution to this.

> Filemgr Catalogs should load Element based off Element name and ProductType
> ---------------------------------------------------------------------------
>
>                 Key: OODT-69
>                 URL: https://issues.apache.org/jira/browse/OODT-69
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.1-incubating
>         Environment: none
>            Reporter: Brian Foster
>            Assignee: Brian Foster
>            Priority: Minor
>             Fix For: 0.2
>
>
> - ProductTypes may have Elements with same name but different meaning . . . thus using the ValidationLayer to get an element by name without taking the ProductType into consideration can cause the wrong Element ID to be sent to the underlying Catalog

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.