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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049267
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2022-05-09 14:292022-05-25 08:53
ReportermalsasuaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR22Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0049267: ClientModel request is cached although request is returning an exception

DescriptionWhen a compilation is done, and new sources are deployed, the ClientModel request is done to get the properties of "DAL" models and it is cached.

If this request returns one Exception (it is returning "200" but with exception" the request with exception is cached.

When the problem that it is causing the exception is fixed, as the request is cached, the till will execute the request but this request is cached, it is returning the Exception
Steps To Reproduce1. mode NO development (no modules with the flag "in development" to Y)
2. compile and restart tomcat
3. do login in POS
4. stop tomcat
5. do one change in js code
6. in ./org.openbravo.mobile.core/src/org/openbravo/mobile/core/model/ClientModelComponent.java do a raise exception
7. compile
8. do login: ClientModel request will return 200 but with exception
  > error will be returned. Login is not possible
9. remove the change done in 6
10. do login: error is returned. Login is not possible
TagsNo tags attached.
Attached Filespng file icon exceptionRequest.png [^] (51,294 bytes) 2022-05-09 14:29

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0137650)
hgbot (developer)
2022-05-24 06:51

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/370 [^]
(0137699)
hgbot (developer)
2022-05-25 08:53

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/370 [^]
(0137700)
hgbot (developer)
2022-05-25 08:53

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 9a582abd1686bb8a1a0a428df0c1c03f1522d8f3
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 25-05-2022 06:53:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/9a582abd1686bb8a1a0a428df0c1c03f1522d8f3 [^]

Fixed ISSUE-49267: Component Servlet should return status 500 when exception occurs

---
M src/org/openbravo/mobile/core/MobileCoreComponentServlet.java
---

- Issue History
Date Modified Username Field Change
2022-05-09 14:29 malsasua New Issue
2022-05-09 14:29 malsasua Assigned To => Retail
2022-05-09 14:29 malsasua Triggers an Emergency Pack => No
2022-05-09 14:29 malsasua File Added: exceptionRequest.png
2022-05-13 14:12 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2022-05-19 14:32 ranjith_qualiantech_com Status new => scheduled
2022-05-24 06:51 hgbot Note Added: 0137650
2022-05-25 08:53 hgbot Resolution open => fixed
2022-05-25 08:53 hgbot Status scheduled => closed
2022-05-25 08:53 hgbot Note Added: 0137699
2022-05-25 08:53 hgbot Fixed in Version => RR22Q3
2022-05-25 08:53 hgbot Note Added: 0137700


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker