yasuflatland-lf / damascus

⚔️ CRUD boilerplate generator for Liferay DXP
https://yasuflatland-lf.github.io/damascus-doc/
GNU Lesser General Public License v3.0
51 stars 35 forks source link

Damascus v.V1.1.2 fails to create two or more records #89

Closed icarrara closed 4 years ago

icarrara commented 4 years ago

Every models created by Damascus there is a non-duplicable Index formed by 'groupId' and 'urlTitle' columns: not-duplicable-index

Deploy a portlet created by Damascus in a portal page or use an 'Admin' portlet generated by Damascus. Create a first records.

Then try to create a second records - you get the duplicate error message:

2019-12-08 17:44:15.530 ERROR [http-nio-80-exec-16][JDBCExceptionReporter:234] Duplicate entry '20124-0' for key 'IX_A548BA27' because the 'urlTitle' field is everytime '0'.

icarrara commented 4 years ago

Ok, solved in damascus.build.number=V1.1.3TS20191209041928.

Tested in: