Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0057416 | POS2 | POS | public | 2024-12-10 16:46 | 2025-01-14 13:23 |
|
Reporter | jinigo | |
Assigned To | cberner | |
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 25Q2 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | Pre packaging ( pi ) |
Regression date | 2024-11-18 |
Regression introduced in release | pi |
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3025 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0057416: When going offline and reloading, the error "Not config found for {"impaired":"False","handedness":"Right"}/1860/961" appears |
Description | When entering online, logging in, then going offline and reloading the page, the error 'Not config found for {"impaired":"False","handedness":"Right"}/1860/961' starts appearing and keeps showing for a while.
The problem seems to come from missing applicationMode in Session state, it is set to null when refreshing in offline mode. |
Steps To Reproduce | 1. Go to POS2
2. Login
3. Put the system offline
4. Reload the page
Expected results: POS2 continues to work correctly.
Actual results: 'Not config found for {"impaired":"False","handedness":"Right"}/1860/961' starts appearing and keeps showing for a while |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0057610 | 25Q1 | closed | cberner | When going offline and reloading, the error "Not config found for {"impaired":"False","handedness":"Right"}/1860/961" appears | causes | defect | 0057659 | | closed | cberner | Switching from POS to SCO with "Use POS User" option does not switch to SCO |
|
Attached Files | Error after reload page offline.webm (3,034,912) 2024-12-10 16:46 https://issues.openbravo.com/file_download.php?file_id=20623&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2024-12-10 16:46 | jinigo | New Issue | |
2024-12-10 16:46 | jinigo | Assigned To | => Retail |
2024-12-10 16:46 | jinigo | File Added: Error after reload page offline.webm | |
2024-12-10 16:46 | jinigo | Regression level | => Pre packaging ( pi ) |
2024-12-10 16:46 | jinigo | Triggers an Emergency Pack | => No |
2024-12-11 09:42 | jinigo | Regression introduced in release | => pi |
2024-12-16 15:18 | guillermogil | Note Added: 0173343 | |
2024-12-17 06:58 | guillermogil | Status | new => acknowledged |
2024-12-17 07:21 | SABARINATH P | Assigned To | Retail => SABARINATH P |
2024-12-17 07:21 | SABARINATH P | Status | acknowledged => scheduled |
2025-01-03 10:36 | cberner | Note Added: 0173819 | |
2025-01-03 10:39 | guillermogil | Regression date | => 2024-11-18 |
2025-01-03 10:39 | guillermogil | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3025 [^] |
2025-01-03 10:47 | cberner | Note Edited: 0173819 | bug_revision_view_page.php?bugnote_id=0173819#r28989 |
2025-01-03 10:48 | cberner | Note Edited: 0173819 | bug_revision_view_page.php?bugnote_id=0173819#r28990 |
2025-01-03 11:33 | cberner | Note Added: 0173821 | |
2025-01-03 11:38 | cberner | Description Updated | bug_revision_view_page.php?rev_id=28994#r28994 |
2025-01-03 11:38 | cberner | Assigned To | SABARINATH P => cberner |
2025-01-03 14:35 | hgbot | Note Added: 0173836 | |
2025-01-03 14:36 | hgbot | Note Added: 0173837 | |
2025-01-10 11:45 | cberner | Status | scheduled => acknowledged |
2025-01-10 11:45 | cberner | Status | acknowledged => scheduled |
2025-01-13 13:55 | hgbot | Resolution | open => fixed |
2025-01-13 13:55 | hgbot | Status | scheduled => closed |
2025-01-13 13:55 | hgbot | Note Added: 0174072 | |
2025-01-13 13:55 | hgbot | Fixed in Version | => 25Q2 |
2025-01-13 13:55 | hgbot | Note Added: 0174073 | |
2025-01-13 13:55 | hgbot | Note Added: 0174074 | |
2025-01-13 13:55 | hgbot | Note Added: 0174075 | |
2025-01-14 10:22 | hgbot | Note Added: 0174115 | |
2025-01-14 10:23 | hgbot | Note Added: 0174116 | |
2025-01-14 13:23 | hgbot | Note Added: 0174144 | |
2025-01-14 13:23 | hgbot | Note Added: 0174145 | |
2025-01-14 13:23 | hgbot | Note Added: 0174146 | |
2025-01-14 13:23 | hgbot | Note Added: 0174147 | |
2025-01-16 12:05 | alostale | Relationship added | causes 0057659 |
Notes |
|
|
Reproduced only in retail_pos2_modules_pgsql |
|
|
(0173819)
|
cberner
|
2025-01-03 10:36
(edited on: 2025-01-03 10:48) |
|
It seems to be failing since this MR has been merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/115 [^]
The failing config is this one: OBPOS2_SearchCustomerDataContent, which corresponds with this file: SearchCustomerDataContent.config.json
In particular, it seems that by adding the config value for the SCO configuration, it broke with this issue.
If removing this entry in registerConfigurations.js, it works as expected:
.registerConfigurationValue(
'OBPOS2_SearchCustomerDataContent',
'sco',
SearchCustomerDataContentConfig
);
A proper solution should be investigated, check other configurations that are similar and have sco values.
|
|
|
|
Actually, it seems the configurations are registered properly, there is a problem in the isValidConfig check done in core2. It fails in offline, due to missing applicationMode in state.Session model. |
|
|
(0173836)
|
hgbot
|
2025-01-03 14:35
|
|
|
|
(0173837)
|
hgbot
|
2025-01-03 14:36
|
|
|
|
(0174072)
|
hgbot
|
2025-01-13 13:55
|
|
|
|
(0174073)
|
hgbot
|
2025-01-13 13:55
|
|
|
|
(0174074)
|
hgbot
|
2025-01-13 13:55
|
|
|
|
(0174075)
|
hgbot
|
2025-01-13 13:55
|
|
|
|
(0174115)
|
hgbot
|
2025-01-14 10:22
|
|
|
|
(0174116)
|
hgbot
|
2025-01-14 10:23
|
|
|
|
(0174144)
|
hgbot
|
2025-01-14 13:23
|
|
|
|
(0174145)
|
hgbot
|
2025-01-14 13:23
|
|
|
|
(0174146)
|
hgbot
|
2025-01-14 13:23
|
|
|
|
(0174147)
|
hgbot
|
2025-01-14 13:23
|
|
|