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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057401
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajoralways2024-11-29 08:142025-01-20 23:22
ReportergowthamveeramuthuView Statuspublic 
Assigned Tojarmendariz 
PriorityhighResolutionfixedFixed in Version24Q4.1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q4.1
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

0057401: 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 Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 005732624Q2 closedjarmendariz user not able to login after updating instance from 24Q1 to 24Q2 

-  Notes
(0174314)
hgbot (developer)
2025-01-17 13:13

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1722 [^]
(0174320)
hgbot (developer)
2025-01-17 13:26

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3369 [^]
(0174382)
hgbot (developer)
2025-01-20 12:01

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1722 [^]
(0174383)
hgbot (developer)
2025-01-20 12:01

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3369 [^]
(0174384)
hgbot (developer)
2025-01-20 12:01

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 99942169497eb8282311bdfc7d2822ee47183be8
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 17-01-2025 13:26:02
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/99942169497eb8282311bdfc7d2822ee47183be8 [^]

Related to ISSUE-57401: 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
---
(0174385)
hgbot (developer)
2025-01-20 12:01

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 8b2e4c43362b16697c48dd574c2272f6e51b1d38
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 17-01-2025 13:11:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/8b2e4c43362b16697c48dd574c2272f6e51b1d38 [^]

Fixed ISSUE-57401: Adding default AppMode to Application to use on login with unidentified appMode

---
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
---
(0174429)
hgbot (developer)
2025-01-20 23:22

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 5db3c74d0e87813490f84e685c55c5432a427fb5
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 20-01-2025 23:22:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/5db3c74d0e87813490f84e685c55c5432a427fb5 [^]

Related to ISSUE-57401: Updating copyright notice to add the current year

---
M src/org/openbravo/core2/login/ApplicationDefaultAppMode.java
M src/org/openbravo/core2/login/Core2LoginHandlerApplicationModeResponse.java
M src/org/openbravo/core2/login/Core2LoginMobileAccessChecker.java
---

- Issue History
Date Modified Username Field Change
2024-12-10 09:00 AugustoMauch Type defect => backport
2024-12-10 09:00 AugustoMauch Target Version 24Q2 => 24Q4.1
2025-01-17 12:14 jarmendariz Assigned To Triage Platform Base => jarmendariz
2025-01-17 13:13 hgbot Note Added: 0174314
2025-01-17 13:26 hgbot Note Added: 0174320
2025-01-20 12:01 hgbot Note Added: 0174382
2025-01-20 12:01 hgbot Note Added: 0174383
2025-01-20 12:01 hgbot Note Added: 0174384
2025-01-20 12:01 hgbot Resolution open => fixed
2025-01-20 12:01 hgbot Status scheduled => closed
2025-01-20 12:01 hgbot Fixed in Version => 24Q4.1
2025-01-20 12:01 hgbot Note Added: 0174385
2025-01-20 23:22 hgbot Note Added: 0174429


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker