Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0057326 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2024-11-29 08:14 | 2024-12-31 16:59 | |||
Reporter | gowthamveeramuthu | View Status | public | |||||
Assigned To | jarmendariz | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 25Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 24Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0057326: user not able to login after updating instance from 24Q1 to 24Q2 | |||||||
Description | user not able to login after updating instance from 24Q1 to 24Q2. For Rand customer we updated instance from 24Q1 to 24Q2. once the build done on productions, the users not able to login the application for the first time. error attached "loginError". the user with manual role facing this issue, if you have admin role then its logged in. the message error is displayed in this point: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/src/org/openbravo/core2/login/Core2LoginMobileAccessChecker.java?ref_type=heads#L54 [^] currentAppMode is blank the message: ...Role Vendeur Balaboosté Mauritius has not access to Application POS2 and/or Application Mode the appmode is not received from pos because the source is not refreshed, even if you refresh the browser the source is not updated. there is no appmode present here(image attached "afterUpdate24Q2AppModeNotReflected") | |||||||
Steps To Reproduce | prepare the instance with 24Q1 clean the browser cache. do the login with manual role user. do logout (no close chrome - no refresh login page) update the instance to 24Q2 do login the user cannot able to login | |||||||
Tags | No tags attached. | |||||||
Attached Files | loginError.jpg [^] (35,483 bytes) 2024-11-29 08:14
afterUpdate24Q2AppModeNotReflected.png [^] (1,143,987 bytes) 2024-11-29 08:15 repo24Q2havingAppMode.png [^] (244,359 bytes) 2024-11-29 08:15 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||||
|
Notes | |
(0173149) hgbot (developer) 2024-12-10 15:48 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1684 [^] |
(0173336) hgbot (developer) 2024-12-16 12:57 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3240 [^] |
(0173769) hgbot (developer) 2024-12-31 16:59 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 35fda9c635e9f102879a2024516b1870d58b8578 Author: Javier Armendáriz <j.armendariz@orisha.com> Date: 31-12-2024 14:55:38 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/35fda9c635e9f102879a2024516b1870d58b8578 [^] Related to ISSUE-57326: Setting POS as the default app mode for sales touchpoint app --- M src-db/database/sourcedata/AD_APPLICATION.xml M src/org/openbravo/pos2/login/POS2LoginHandler.java --- |
(0173770) hgbot (developer) 2024-12-31 16:59 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3240 [^] |
(0173771) hgbot (developer) 2024-12-31 16:59 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1684 [^] |
(0173772) hgbot (developer) 2024-12-31 16:59 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: 8d2fece561608e40d7bd1861001286dedcff683c Author: Javier Armendáriz <j.armendariz@orisha.com> Date: 31-12-2024 14:55:20 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/8d2fece561608e40d7bd1861001286dedcff683c [^] Fixed ISSUE-57326: Adding default AppMode to Application to use on login with unidentified appMode This value will only be used when the application's LoginHandler request does not provide an application mode (i.e. a client that uses an older version of sources that does not support application modes). In case this field is empty, appMode in MobileAccessChecker is empty string, as of now. This change does not affect normal flows with clients supporting application modes. --- A src-db/database/model/modifiedTables/AD_APPLICATION.xml A src/org/openbravo/core2/login/ApplicationDefaultAppMode.java M src-db/database/sourcedata/AD_COLUMN.xml M src-db/database/sourcedata/AD_ELEMENT.xml M src-db/database/sourcedata/AD_FIELD.xml M src-db/database/sourcedata/AD_REFERENCE.xml M src-db/database/sourcedata/AD_REF_TABLE.xml M src/org/openbravo/core2/login/Core2LoginHandlerApplicationModeResponse.java M src/org/openbravo/core2/login/Core2LoginMobileAccessChecker.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2024-11-29 08:14 | gowthamveeramuthu | New Issue | |
2024-11-29 08:14 | gowthamveeramuthu | Assigned To | => Retail |
2024-11-29 08:14 | gowthamveeramuthu | Triggers an Emergency Pack | => No |
2024-11-29 08:14 | gowthamveeramuthu | File Added: loginError.jpg | |
2024-11-29 08:15 | gowthamveeramuthu | File Added: afterUpdate24Q2AppModeNotReflected.png | |
2024-11-29 08:15 | gowthamveeramuthu | File Added: repo24Q2havingAppMode.png | |
2024-12-04 09:34 | aaroncalero | Assigned To | Retail => Triage Platform Base |
2024-12-10 09:00 | AugustoMauch | Status | new => scheduled |
2024-12-10 15:48 | hgbot | Note Added: 0173149 | |
2024-12-11 09:49 | AugustoMauch | Assigned To | Triage Platform Base => jarmendariz |
2024-12-16 12:57 | hgbot | Note Added: 0173336 | |
2024-12-31 16:59 | hgbot | Note Added: 0173769 | |
2024-12-31 16:59 | hgbot | Note Added: 0173770 | |
2024-12-31 16:59 | hgbot | Note Added: 0173771 | |
2024-12-31 16:59 | hgbot | Resolution | open => fixed |
2024-12-31 16:59 | hgbot | Status | scheduled => closed |
2024-12-31 16:59 | hgbot | Fixed in Version | => 25Q1 |
2024-12-31 16:59 | hgbot | Note Added: 0173772 |
Copyright © 2000 - 2009 MantisBT Group |