Openbravo Issue Tracking System - POS2
View Issue Details
0046332POS2Corepublic2021-04-22 17:522021-04-23 13:23
cberner 
cberner 
normalmajorhave not tried
closedfixed 
5
 
 
approved
caristu
Gold
No
0046332: User actions that exceed 40 characters can't be secured in AD
In application dictionary the searchKey column of OBC2_UserAction is limited to 40 characters, that means that user actions like this one "OBPOS2_RemoveDraftProofOfPurchaseOfTicket" can't be registered to be secured, similar happens with SwitchCurrentWindow_ user actions, which usually are longer than that length.
Try to register a user action in Application Dictionary User Window longer than 40 characters.
1. Open Backoffice as System role
2. Navigate to User Action
3. Create new User Action, try to put a searchKey longer than 40 characters.
Change column and field size to 100 characters.
Takeaway
depends on backport 0046337TAP closed cberner User actions that exceed 40 characters can't be secured in AD 
blocks defect 0046294 closed cberner JIRA 1711 - Keymap editor can not be disabled on POS 
Issue History
2021-04-22 17:52cbernerNew Issue
2021-04-22 17:52cbernerAssigned To => cberner
2021-04-22 17:52cbernerOBNetwork customer => No
2021-04-22 17:52cbernerTriggers an Emergency Pack => No
2021-04-22 18:02guilleaerTag Attached: Takeaway
2021-04-22 18:03guilleaerTag Detached: Takeaway
2021-04-22 18:03guilleaerTag Attached: Takeaway
2021-04-22 18:04guilleaerOBNetwork customerNo => Gold
2021-04-22 18:04guilleaerResolution time => 1619992800
2021-04-22 18:05guilleaerStatusnew => scheduled
2021-04-22 18:10hgbotMerge Request Status => open
2021-04-22 18:10hgbotNote Added: 0127471
2021-04-23 10:16caristuRelationship addedblocks 0046294
2021-04-23 13:04hgbotMerge Request Statusopen => approved
2021-04-23 13:22hgbotResolutionopen => fixed
2021-04-23 13:22hgbotStatusscheduled => closed
2021-04-23 13:22hgbotNote Added: 0127496
2021-04-23 13:22hgbotNote Added: 0127497
2021-04-23 13:23cbernerStatusclosed => new
2021-04-23 13:23cbernerResolutionfixed => open
2021-04-23 13:23cbernerStatusnew => scheduled
2021-04-23 13:23cbernerStatusscheduled => resolved
2021-04-23 13:23cbernerResolutionopen => fixed
2021-04-23 13:23cbernerReview Assigned To => caristu
2021-04-23 13:23cbernerStatusresolved => closed

Notes
(0127471)
hgbot   
2021-04-22 18:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/476 [^]
(0127496)
hgbot   
2021-04-23 13:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: a797bca9ce0ff5a96deeb0425e871d98fa550f80
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2021-04-23T11:22:33+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/a797bca9ce0ff5a96deeb0425e871d98fa550f80 [^]

Fixes ISSUE-46332: User actions that exceed 40 characters can't be secured in AD

Previously limit of characters for user action search key was 40
characters, with this change now it is 100 characters, allowing longer
names for user actions.

---
M src-db/database/model/tables/OBC2_USER_ACTION.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M web-jspack/org.openbravo.core2/src/core/__test__/Registry.test.js
M web-jspack/org.openbravo.core2/src/core/user-action/UserAction.js
M web-jspack/org.openbravo.core2/src/core/user-action/__test__/UserAction.test.js
---
(0127497)
hgbot   
2021-04-23 13:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/476 [^]