-
1. Re: ConstraintViolationException after modification over CND
hchiorean Aug 13, 2012 12:06 PM (in response to simone.l)Can you please post your configuration xml and the cnd file ?
-
2. Re: ConstraintViolationException after modification over CND
simone.l Aug 13, 2012 12:17 PM (in response to hchiorean)Files attached.
-
modeshape-config.xml 7.1 KB
-
ecm.cnd.zip 493 bytes
-
-
3. Re: ConstraintViolationException after modification over CND
hchiorean Aug 13, 2012 12:31 PM (in response to simone.l)How are you modifying the cnd file ? If I understand correctly, the problem appears only after you modify the CND and the exception seems to indicate that the changes aren't persisted in the DB.
-
4. Re: ConstraintViolationException after modification over CND
simone.l Aug 14, 2012 4:29 AM (in response to hchiorean)The last modification I've made is adding the property
- cf:FileSize (long)
After that, I've started JBOSS and tryed to add a new node (a nt:file with the cf:File mixin) with the new property creating its value through the ValueFactory using the method createValue(long) and I've got the error reported on my first post.
I've also tryed to delete TMP, DATA, WORK on JBOSS and also the MODESHAPE directory but the problem was still the same.
To solve the problem, cause I'm using a development DB, I've deleted all the tables in the MODESHAPE DB, after that modification things start to work again, but as you can imagine, in a production DB this could not be the solution.
-
5. Re: ConstraintViolationException after modification over CND
hchiorean Aug 14, 2012 4:43 AM (in response to simone.l)This seems like a bug. Can you please log a JIRA (https://issues.jboss.org/browse/MODE) issue against 2.8.2.Final. Thanks.
-
6. Re: ConstraintViolationException after modification over CND
simone.l Aug 14, 2012 4:55 AM (in response to hchiorean)https://issues.jboss.org/browse/MODE-1596
Please let me know if it is enough.
If it will be confirmed that is really a bug, will it be fixed in a 2.8.x version? Can you provide a time estimation for a new release in this case?
-
7. Re: ConstraintViolationException after modification over CND
hchiorean Aug 14, 2012 5:00 AM (in response to simone.l)Thanks for opening the bug. We will try and fix the issue in 2.8.3.Final. We don't have a timeline for the release yet, but I'll post back here once we decide.
-
8. Re: ConstraintViolationException after modification over CND
hchiorean Aug 24, 2012 5:44 AM (in response to hchiorean)Hi Simone,
I've managed to trace the issue and a fix will be provided in 2.8.3.Final, which will be out hopefully sometime next week.
-
9. Re: ConstraintViolationException after modification over CND
simone.l Aug 30, 2012 4:24 AM (in response to hchiorean)ok, thank you, I'll wait for the new build