Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033631 | Retail Modules | Web POS | public | 2016-08-05 10:57 | 2016-09-01 09:57 |
|
Reporter | marvintm | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0033631: Translation of date-picker related messages can break the Web POS login |
Description | There are two messages in the Web POS related to date-picker configuration, which can be translated although they contain configuration information. If they are translated to some values which are not valid, then the Web POS login stops working. |
Steps To Reproduce | - Translate the messages OBMOBC_Date_enyo_date_order or OBMOBC_Date_enyo_time_order to another system language.
- Log in the Web POS. Change the language to this language.
- Verify that the login doesn't work anymore. |
Proposed Solution | These messages should never have been created, as the information they contain is configuration information, and it doesn't make sense to translate them.
They can be modified so that in the case of the date, we compute the date format from the current OB.Format information, and in the case of the time, we hardcode to "hma" as this format is valid across the board always. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | date.diff (4,276) 2016-08-05 10:57 https://issues.openbravo.com/file_download.php?file_id=9680&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2016-08-05 10:57 | marvintm | New Issue | |
2016-08-05 10:57 | marvintm | Assigned To | => Retail |
2016-08-05 10:57 | marvintm | OBNetwork customer | => No |
2016-08-05 10:57 | marvintm | Triggers an Emergency Pack | => No |
2016-08-05 10:57 | marvintm | File Added: date.diff | |
2016-08-05 12:43 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2016-08-05 12:43 | ranjith_qualiantech_com | Status | new => scheduled |
2016-08-12 06:59 | hgbot | Checkin | |
2016-08-12 06:59 | hgbot | Note Added: 0089062 | |
2016-08-12 06:59 | hgbot | Status | scheduled => resolved |
2016-08-12 06:59 | hgbot | Resolution | open => fixed |
2016-08-12 06:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e356310970749d73154ab325db6363e57527e946 [^] |
2016-08-23 13:43 | Orekaria | Note Added: 0089297 | |
2016-08-23 13:43 | Orekaria | Status | resolved => new |
2016-08-23 13:43 | Orekaria | Resolution | fixed => open |
2016-08-24 13:44 | ranjith_qualiantech_com | Status | new => scheduled |
2016-08-25 09:39 | Orekaria | Note Edited: 0089297 | bug_revision_view_page.php?bugnote_id=0089297#r12904 |
2016-08-25 12:02 | hgbot | Checkin | |
2016-08-25 12:02 | hgbot | Note Added: 0089389 | |
2016-08-25 12:02 | hgbot | Checkin | |
2016-08-25 12:02 | hgbot | Note Added: 0089390 | |
2016-08-25 12:02 | hgbot | Status | scheduled => resolved |
2016-08-25 12:02 | hgbot | Resolution | open => fixed |
2016-08-25 12:02 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e356310970749d73154ab325db6363e57527e946 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0199799110404c4f9f20c8bfd391f1ea1f55e890 [^] |
2016-09-01 09:57 | migueldejuana | Review Assigned To | => migueldejuana |
2016-09-01 09:57 | migueldejuana | Note Added: 0089635 | |
2016-09-01 09:57 | migueldejuana | Status | resolved => closed |
Notes |
|
(0089062)
|
hgbot
|
2016-08-12 06:59
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e356310970749d73154ab325db6363e57527e946
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Aug 12 10:28:34 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e356310970749d73154ab325db6363e57527e946 [^]
Fixes issue 33631 : Removed AD Message used in date-time configuration
- Date-time Configuration value added in ad-message. Its inappropriate to put it under ad-message
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/component/ob-dateformat.js
---
|
|
|
(0089297)
|
Orekaria
|
2016-08-23 13:43
(edited on: 2016-08-25 09:39) |
|
the 100 value:
- I guess is just a big random number to pass the first condition. I would add a message saying so (or whatever reason is it to be a 100)
- If the above is the reason, the value should be dateformat.length + 1
Tried some formats. At least is failing in this case:
- in a terminal, execute:
OB.Format.date = "mm/yydd"
new enyo.g11n.Fmts().getDateFieldOrder()
result: "mdy" (correct answer should be myd)
The issue is missing any test
|
|
|
(0089389)
|
hgbot
|
2016-08-25 12:02
|
|
|
|
(0089390)
|
hgbot
|
2016-08-25 12:02
|
|
|
|
|
|