Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0058074 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Retail API | minor | always | 2025-02-25 17:51 | 2025-03-07 13:04 | |||
Reporter | sofidossant | View Status | public | |||||
Assigned To | eugen_hamuraru | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0058074: Error SWAGGER in first login | |||||||
Description | When i try to login to the Swagger/API with this https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/api?urls.primaryName=Business%20API%20-%20Master%20Data#/ [^] and im loging in livebuilds (https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/ [^]) in the same incognito tab that i put the last url i can see the error : "Errors Hide Parser error on line 25 end of the stream or a document separator is expected" | |||||||
Steps To Reproduce | 1- Open a new window with : https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/ [^] Loging with openbravo credentials 2-In another window open this URL : https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/api?urls.primaryName=Business%20API%20-%20Master%20Data#/ [^] And see the error that i atacched. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0176340) hgbot (developer) 2025-03-03 09:06 |
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.service.openapi/-/merge_requests/21 [^] |
(0176484) hgbot (developer) 2025-03-05 16:55 |
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1568 [^] |
(0176552) hgbot (developer) 2025-03-07 11:09 |
Merge request closed: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1568 [^] |
(0176553) hgbot (developer) 2025-03-07 13:04 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.service.openapi [^] Changeset: 36ab81bea79df93475c48db4f82a4a8c2d5b9d7d Author: Eugen Hamuraru <eugen.hamuraru@openbravo.com> Date: 07-03-2025 12:04:19 URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.service.openapi/-/commit/36ab81bea79df93475c48db4f82a4a8c2d5b9d7d [^] Fixes BUG-58074: error in Swagger having a backoffice session opened in other tab When accessing the API (Swagger) page for the first time being previously logged in the backoffice in a different browser tab, the request to access to get the API definition failed because the session gets invalidated. To fix this, now we manually check if the basic authorization must be re-requested before showing the Swagger UI page and in case the authorization fails now a proper message is returned explaining that the access is not authorized. --- M src/org/openbravo/service/openapi/SwaggerUIServlet.java --- |
(0176554) hgbot (developer) 2025-03-07 13:04 |
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.service.openapi/-/merge_requests/21 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2025-02-25 17:51 | sofidossant | New Issue | |
2025-02-25 17:51 | sofidossant | Assigned To | => Retail |
2025-02-25 17:51 | sofidossant | File Added: WhatsApp Image 2025-02-25 at 13.50.14.jpeg | |
2025-02-25 17:51 | sofidossant | Triggers an Emergency Pack | => No |
2025-02-26 09:42 | guillermogil | Assigned To | Retail => Triage Platform Conn |
2025-03-03 09:06 | hgbot | Note Added: 0176340 | |
2025-03-05 16:55 | hgbot | Note Added: 0176484 | |
2025-03-07 11:09 | hgbot | Note Added: 0176552 | |
2025-03-07 13:04 | hgbot | Resolution | open => fixed |
2025-03-07 13:04 | hgbot | Status | new => closed |
2025-03-07 13:04 | hgbot | Note Added: 0176553 | |
2025-03-07 13:04 | hgbot | Note Added: 0176554 | |
2025-03-07 13:04 | caristu | Assigned To | Triage Platform Conn => eugen_hamuraru |
Copyright © 2000 - 2009 MantisBT Group |