You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrey Razumovsky (JIRA)" <ji...@apache.org> on 2009/12/10 12:48:18 UTC

[jira] Commented: (CAY-1332) Embeddable validation error in CM on custom Java types

    [ https://issues.apache.org/jira/browse/CAY-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788687#action_12788687 ] 

Andrey Razumovsky commented on CAY-1332:
----------------------------------------

Just faced same situation. I can also say that custom types now are *saved* as embedded attributes, so this is a real blocker

> Embeddable validation error in CM on custom Java types
> ------------------------------------------------------
>
>                 Key: CAY-1332
>                 URL: https://issues.apache.org/jira/browse/CAY-1332
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>    Affects Versions: 3.0 beta 1
>         Environment: All
>            Reporter: Michael Gentry
>            Assignee: Olga Tkacheva
>            Priority: Minor
>             Fix For: 3.0 beta 2
>
>
> Using Cayenne Modeler 3.0B1, I edited an ObjEntity's Java Type to be a custom enum (say, foo.bar.enums.MyType).  When I save the project, I
> get an incorrect validation warning:
>     Warning: EmbeddedAttribute has incorrect Embeddable.
> CM used to not work this way (never gave a warning for this) because custom Java Types are supported.
> You can still save the project, but the incorrect and misleading validation warning could confuse people.

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