oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OODT-69) Filemgr Catalogs should load Element based off Element name and ProductType
Date Tue, 07 Dec 2010 06:59:08 GMT

    [ 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.

View raw message