Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049307 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo Localizations] Localization Portugal | major | always | 2022-05-12 12:18 | 2022-08-22 11:47 | |||
Reporter | ucarrion | View Status | public | |||||
Assigned To | igor_trebol | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
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 | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Regression introduced in release | ||||||||
Summary | 0049307: Cannot login into a Portuguese terminal if there's no return prefix defined | |||||||
Description | If you set a prefix as empty for any Portuguese configured touchpoint and, given a situation, you deactivate it and activate it back, then you get a popup in the loading screen telling that there's a prefix missing (as if it was null). If there's a null prefix defined at touchpoint level, the user will never by able to login. This has no sense if there are document types not communicated to SAFT (so, no SAFT signed). | |||||||
Steps To Reproduce | Preconditions: to select a touchpoint that is into an organization Portuguese configured. -Set the returndocno_prefix as empty ( '' ) for the mentioned till -Do login on the till: normally everything works fine -Deactivate the till into the backoffice. Save -Activate it back. Save -Try to do login again, a popup appears because of that null value. | |||||||
Proposed Solution | Only the prefixes for the doctypes marked as 'Is SAFT signed' in c_doctype should be considered when doing this control on the login. | |||||||
Tags | NOR | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0137314) psanjuan (manager) 2022-05-16 12:12 edited on: 2022-05-16 12:19 |
When the value is left empty in Openbravo backoffice, it is shown as "Null" in DB while it should be "empty". Besides that, and as a consequence of the above, at the time of login in the POS, an error message saying: Error There was an error loading the POS Terminal. There are empty Terminal Prefixes and all must be defined. This error message should not appear in case no prefix is configured for a document configured as "Is SAFT signed" = NO. |
(0139428) ucarrion (developer) 2022-07-19 15:08 |
After a discussion with Álvaro, we decided to postpone the due date one month because the issue has a workaround (just run an script) and in terms of Norauto PROD there will not be more stores joining in PROD until September as the soonest. |
(0140047) hgbot (developer) 2022-08-10 14:26 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/58 [^] |
(0140285) hgbot (developer) 2022-08-22 11:46 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^] Changeset: 60948dc447a0f28aeedb4d226481ffdf9e75e7aa Author: Igor Trebol <igor.trebol@openbravo.com> Date: 22-08-2022 09:46:36 URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/60948dc447a0f28aeedb4d226481ffdf9e75e7aa [^] Fixes ISSUE-49307: Empty prefixes only block login if the corresponding document is saft signed --- M src/com/practicsbs/saftpt/retail/SaftrInitialValidations.java --- |
(0140286) hgbot (developer) 2022-08-22 11:46 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/merge_requests/58 [^] |
(0140287) hgbot (developer) 2022-08-22 11:47 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail [^] Changeset: f6445116dd44146e9103aa36138ff121b209a287 Author: Igor Trebol <igor.trebol@openbravo.com> Date: 22-08-2022 09:47:24 URL: https://gitlab.com/openbravo/product/pmods/com.practicsbs.saftpt.retail/-/commit/f6445116dd44146e9103aa36138ff121b209a287 [^] Fixes ISSUE-49307: Empty prefixes only block login if the corresponding document is saft signed (cherry picked from commit 60948dc447a0f28aeedb4d226481ffdf9e75e7aa) --- M src/com/practicsbs/saftpt/retail/SaftrInitialValidations.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2022-05-12 12:18 | ucarrion | New Issue | |
2022-05-12 12:18 | ucarrion | Assigned To | => psanjuan |
2022-05-12 12:22 | rafaroda | Tag Attached: NOR | |
2022-05-16 12:12 | psanjuan | Note Added: 0137314 | |
2022-05-16 12:19 | psanjuan | Note Edited: 0137314 | View Revisions |
2022-05-16 12:19 | psanjuan | Assigned To | psanjuan => aferraz |
2022-06-16 12:15 | ucarrion | Summary | Return docno prefix set as null when deactivating the touchpoint => Cannot login into a Portuguese terminal if there's no return prefix defined |
2022-06-16 12:15 | ucarrion | Description Updated | View Revisions |
2022-06-16 12:15 | ucarrion | Proposed Solution updated | |
2022-07-12 17:32 | aferraz | Assigned To | aferraz => igor_trebol |
2022-07-19 15:08 | ucarrion | Note Added: 0139428 | |
2022-08-10 14:26 | hgbot | Note Added: 0140047 | |
2022-08-11 07:53 | jorge-garcia | Status | new => scheduled |
2022-08-22 11:46 | hgbot | Resolution | open => fixed |
2022-08-22 11:46 | hgbot | Status | scheduled => closed |
2022-08-22 11:46 | hgbot | Note Added: 0140285 | |
2022-08-22 11:46 | hgbot | Note Added: 0140286 | |
2022-08-22 11:47 | hgbot | Note Added: 0140287 |
Copyright © 2000 - 2009 MantisBT Group |