Navigate to User Assignment in the SuperUser record
Click the Post-it button
Problem → showing “null: null” in the title dialog
Fill the post-it with a test string and save it
Click again the Post-it button
Problem → Note the button is not pressed
Problem → the previous Post-it is not shown
Fill the post-it with a test string and save it
Error → Could not save record - Require unique data: …
The console shows:
org.adempiere.exceptions.AdempiereException: Could not save record - Require unique data:
Please change information.: ERROR: llave duplicada viola restricción de unicidad «ad_postit_record_uu»
Detail: Ya existe la llave (record_uu)=(8642f17b-5143-4fac-bffe-e2e5c9bbe081).
at org.compiere.model.PO.saveEx(PO.java:2654)
at org.adempiere.webui.window.WPostIt.onEvent(WPostIt.java:196)
at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:3170)
... at org.eclipse.jetty.ee8.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:175)
caused by: org.postgresql.util.PSQLException: ERROR: llave duplicada viola restricción de unicidad «ad_postit_record_uu»
Detail: Ya existe la llave (record_uu)=(8642f17b-5143-4fac-bffe-e2e5c9bbe081).; State=23505; ErrorCode=0
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725)
... at org.compiere.util.DB.executeUpdate(DB.java:1051)
at org.compiere.util.DB.executeUpdate(DB.java:1019)
at org.compiere.model.PO.doInsert(PO.java:3572)
at org.compiere.model.PO.saveNew(PO.java:3546)
at org.compiere.model.PO.save(PO.java:2523)
at org.compiere.model.PO.saveEx(PO.java:2637)
at org.adempiere.webui.window.WPostIt.onEvent(WPostIt.java:196)
Test case:
Login with GardenWorld Admin role
Open Role window on role GardenWorld Admin
Navigate to User Assignment in the SuperUser record
Click the Post-it button
Problem → showing “null: null” in the title dialog
Fill the post-it with a test string and save it
Click again the Post-it button
Problem → Note the button is not pressed
Problem → the previous Post-it is not shown
Fill the post-it with a test string and save it
Error → Could not save record - Require unique data: …
The console shows:
org.adempiere.exceptions.AdempiereException: Could not save record - Require unique data: Please change information.: ERROR: llave duplicada viola restricción de unicidad «ad_postit_record_uu» Detail: Ya existe la llave (record_uu)=(8642f17b-5143-4fac-bffe-e2e5c9bbe081). at org.compiere.model.PO.saveEx(PO.java:2654) at org.adempiere.webui.window.WPostIt.onEvent(WPostIt.java:196) at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:3170) ... at org.eclipse.jetty.ee8.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:175) caused by: org.postgresql.util.PSQLException: ERROR: llave duplicada viola restricción de unicidad «ad_postit_record_uu» Detail: Ya existe la llave (record_uu)=(8642f17b-5143-4fac-bffe-e2e5c9bbe081).; State=23505; ErrorCode=0 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725) ... at org.compiere.util.DB.executeUpdate(DB.java:1051) at org.compiere.util.DB.executeUpdate(DB.java:1019) at org.compiere.model.PO.doInsert(PO.java:3572) at org.compiere.model.PO.saveNew(PO.java:3546) at org.compiere.model.PO.save(PO.java:2523) at org.compiere.model.PO.saveEx(PO.java:2637) at org.adempiere.webui.window.WPostIt.onEvent(WPostIt.java:196)