Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057326
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-11-29 08:142024-12-31 16:59
ReportergowthamveeramuthuView Statuspublic 
Assigned Tojarmendariz 
PriorityhighResolutionfixedFixed in Version25Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057326: user not able to login after updating instance from 24Q1 to 24Q2

Descriptionuser 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 Reproduceprepare 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
TagsNo tags attached.
Attached Filesjpg file icon loginError.jpg [^] (35,483 bytes) 2024-11-29 08:14


png file icon afterUpdate24Q2AppModeNotReflected.png [^] (1,143,987 bytes) 2024-11-29 08:15
png file icon repo24Q2havingAppMode.png [^] (244,359 bytes) 2024-11-29 08:15

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005740124Q4.1 closedjarmendariz user not able to login after updating instance from 24Q1 to 24Q2 
depends on backport 005740224Q3.3 scheduledTriage Platform Base user not able to login after updating instance from 24Q1 to 24Q2 
depends on backport 005740324Q2.5 scheduledTriage Platform Base user not able to login after updating instance from 24Q1 to 24Q2 
Not all the children of this issue are yet resolved or closed.

-  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
Powered by Mantis Bugtracker