[ http://issues.apache.org/jira/browse/HIVEMIND-100?page=all ]
     
Knut Wannheden closed HIVEMIND-100:
-----------------------------------

     Resolution: Fixed
    Fix Version: 1.1

Patch applied. Thanks Michael!

> unique attribute does not distinguish between values that are translated
> ------------------------------------------------------------------------
>
>          Key: HIVEMIND-100
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-100
>      Project: HiveMind
>         Type: Bug
>   Components: framework
>     Versions: 1.1
>  Environment: J2SDK 1.4.2_04 on W2000
>     Reporter: Michael Frericks
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: unique-attribute.patch
>
> Given an schema defining an attribute as unique and being translated
> by the translator 'qualified-id'.
> Given two modules contributing an element with same local
> value for the unique attribute.
> This causes an ApplicationRuntimeException at
> org.apache.hivemind.impl.SchemaElement#validateAttributes
> {
>   ...
>   throw new ApplicationRuntimeException(buffer.toString(), 
> element.getLocation(), null);
> }
> with message:
> Value for attribute ''{0}'' (''{1}'') duplicates a prior instance at {2}.
> Expected behaviour:
> No complaint about duplicate values because the translated values are not 
> equal.
> Solution: 
> translate values before checking uniqueness. Patch follows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to