Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045886Retail ModulesWeb POSpublic2021-02-11 17:172021-02-15 06:25
lmonreal 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR21Q2 
No
0045886: Unable to create the same register for Touchpoint UI Configuration in Multiclient
I am trying to generate the same button in the same place for two different clients under the same machine. However, system says that there is already a record created with the same information so I cannot save i:

Saving failed. There is already a ActionInABA with the same (Action, ABA_UiConfiguration). (Action, ABA_UiConfiguration) must be unique. You must change the values entered.


As a result, I am not able to replicate the UI configuration in two different clients.

Our environment is 19Q3
Video:https://drive.google.com/file/d/14mUOgBpzlKA76ZuepQgwODtN6ocQrnQf/view [^]

1. Go to Touchpoint UI Configuration and create a new action under Scan Button Right

2. Change client and replicate above step-->See it says that there is an error

3.If you delete the first register and try again in the second client, this time it works.
No tags attached.
png Error.png (77,814) 2021-02-11 17:17
https://issues.openbravo.com/file_download.php?file_id=15316&type=bug
png
Issue History
2021-02-11 17:17lmonrealNew Issue
2021-02-11 17:17lmonrealAssigned To => Retail
2021-02-11 17:17lmonrealFile Added: Error.png
2021-02-11 17:17lmonrealResolution time => 1613602800
2021-02-11 17:17lmonrealTriggers an Emergency Pack => No
2021-02-12 08:07guillermogilNote Added: 0126086
2021-02-12 08:07guillermogilNote Edited: 0126086bug_revision_view_page.php?bugnote_id=0126086#r22119
2021-02-12 23:17rqueraltaAssigned ToRetail => rqueralta
2021-02-12 23:17rqueraltaStatusnew => scheduled
2021-02-13 04:35hgbotNote Added: 0126102
2021-02-15 06:25hgbotResolutionopen => fixed
2021-02-15 06:25hgbotStatusscheduled => closed
2021-02-15 06:25hgbotFixed in Version => RR21Q2
2021-02-15 06:25hgbotNote Added: 0126104
2021-02-15 06:25hgbotNote Added: 0126105

Notes
(0126086)
guillermogil   
2021-02-12 08:07   
It should be as easy as add the AD_Client_ID to the Unique Index:
      <unique name="OBMOBC_UICONFACT_UN">
        <unique-column name="OBMOBC_UICONF_WIN_ABA_ID"/>
        <unique-column name="OBMOBC_ACTION_ID"/>
        <unique-column name="AD_CLIENT_ID"/>
      </unique>

(0126102)
hgbot   
2021-02-13 04:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/158 [^]
(0126104)
hgbot   
2021-02-15 06:25   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 7cde5be4795e1dcc1a510bd6defe43f54616aac9
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-02-12T17:14:31-05:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/7cde5be4795e1dcc1a510bd6defe43f54616aac9 [^]

Fixed BUG 45886: Added the AD_Client_ID to the Unique Index

---
M src-db/database/model/tables/OBMOBC_UICONFWINABA_ACT.xml
---
(0126105)
hgbot   
2021-02-15 06:25   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/158 [^]