Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0051931 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2023-03-21 15:37 | 2023-03-24 13:48 | |||
Reporter | jorgewederago | View Status | public | |||||
Assigned To | radhakrishnan | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR23Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0051931: OB.App.View.DialogUIHandler.askConfirmation should accept non translatable messages in Enyo | |||||||
Description | When using the API OB.App.View.DialogUIHandler.askConfirmation, it is not possible to set neither titles nor body messages that are not translatable messages | |||||||
Steps To Reproduce | 1.- Open Enyo POS 2.- Open console and write the following code OB.App.View.DialogUIHandler.askConfirmation({ title:'test', message: 'test' }) Check that both title and body contain an UNDEFINED | |||||||
Proposed Solution | Parse the incoming title and message to ensure they are translatable labels before applying OB.I18N.getLabel. In core2 there is some code that is doing the same using the following rule: if (!key.startsWith('$')) { return key; } so it would be a nice idea to use it also for this issues | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0147936) hgbot (developer) 2023-03-24 10:22 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/490 [^] |
(0147953) hgbot (developer) 2023-03-24 13:48 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/490 [^] |
(0147954) hgbot (developer) 2023-03-24 13:48 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: bf8cd3a2f4b34441ea260a3f18bf12a3cdd87114 Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com> Date: 22-03-2023 15:00:44 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/bf8cd3a2f4b34441ea260a3f18bf12a3cdd87114 [^] Fixed ISSUE-51931: AskConfirmation should validate the title and message * If title and message doesn't have the label then it should print title and message without the OB.I18N.getLabel --- M web/org.openbravo.mobile.core/app/view/DialogUIHandler.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2023-03-21 15:37 | jorgewederago | New Issue | |
2023-03-21 15:37 | jorgewederago | Assigned To | => Retail |
2023-03-21 15:37 | jorgewederago | OBNetwork customer | => No |
2023-03-21 15:37 | jorgewederago | Triggers an Emergency Pack | => No |
2023-03-22 08:31 | radhakrishnan | Assigned To | Retail => radhakrishnan |
2023-03-22 08:31 | radhakrishnan | Status | new => scheduled |
2023-03-23 16:28 | jorgewederago | Proposed Solution updated | |
2023-03-24 10:22 | hgbot | Merge Request Status | => open |
2023-03-24 10:22 | hgbot | Note Added: 0147936 | |
2023-03-24 13:48 | hgbot | Merge Request Status | open => approved |
2023-03-24 13:48 | hgbot | Resolution | open => fixed |
2023-03-24 13:48 | hgbot | Status | scheduled => closed |
2023-03-24 13:48 | hgbot | Note Added: 0147953 | |
2023-03-24 13:48 | hgbot | Fixed in Version | => RR23Q2 |
2023-03-24 13:48 | hgbot | Note Added: 0147954 |
Copyright © 2000 - 2009 MantisBT Group |