[ http://jira.andromda.org/browse/BPM-196?page=history ]

Leif Johansson updated BPM-196:
-------------------------------

    Attachment: 4.png
                5.png

And now we try this again (with a different value in the select-field). This 
time it doesn't work but the exception is not what I'd expect.

> It is possible to create entities which violate multiplicity constraints 
> using CRUD
> -----------------------------------------------------------------------------------
>
>          Key: BPM-196
>          URL: http://jira.andromda.org/browse/BPM-196
>      Project: Bpm4Struts Cartridge
>         Type: Bug
>   Components: CRUD
>     Versions: 3.1M1
>     Reporter: Leif Johansson
>     Assignee: Wouter Zoons
>     Priority: Critical
>  Attachments: 1.png, 2.png, 3.png, 4.png, 5.png
>
> The way to reproduce: Create an entity which has at least one mandatory 
> enumeration field or association and
> at least one mandatory (i.e multiplicity > 0) regular field. Using an empty 
> DB fill in the
> select-box in the CRUD-form and leave all other fields blank. This should
> cause a constraints-related exception to be thrown but the *first* time you 
> try the 
> entity is created anyway! Furthermore it is impossible to remove the entity 
> by using
> 'Copy' to 'load' the entity and then using 'Delete'. The next time you try 
> this with
> the same entity but with a different value in the select-box an exception is 
> thrown but
> not the one you'd expect.
> I will attach screen-shots tomorrow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Andromda-devel mailing list
Andromda-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to