[
https://jira.jboss.org/jira/browse/JBSEAM-2947?page=com.atlassian.jira.pl...
]
Pete Muir updated JBSEAM-2947:
------------------------------
Fix Version/s: 2.1.0.BETA2
(was: 2.1.0.GA)
Assignee: Dan Allen
seam-gen crud app throws exception if duplicate entry added
-----------------------------------------------------------
Key: JBSEAM-2947
URL:
https://jira.jboss.org/jira/browse/JBSEAM-2947
Project: Seam
Issue Type: Bug
Components: Tools
Affects Versions: 2.0.2.CR2
Reporter: Jay Balunas
Assignee: Dan Allen
Fix For: 2.1.0.BETA2
Create a seam-gen project and reverse engineer a DB (I used the tables from the
release-process.txt).
Add an new entry in one of the tables then attempt to add another identical entry ( just
the primary key will do it as well). You will see an exception (jsf error page) that
basically says cannot add duplicate entry.
Could just add a simple check instead of throwing the exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira