Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0052986 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Retail API | minor | have not tried | 2023-07-18 08:43 | 2023-07-27 10:23 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | caristu | |||||||
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 | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0052986: broken request link when importing through Business API | |||||||
Description | When an import request is performed to the API, its response includes a link to query the status of the import process. This link is broken: instead of the actual openbravo context part it displays "null". | |||||||
Steps To Reproduce | 1. Execute an sample postman request included in the exaxamples collection [1] of the org.openbravo.api module. -> ERROR: the response looks like { "data": { "request": { "id": "18C7130A58F04858987B7A04731B8936" } }, "links": { "href": "null/ws/org.openbravo.api.StatusService?id=18C7130A58F04858987B7A04731B8936" } } [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/tree/master/examples [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0152801) hgbot (developer) 2023-07-21 14:50 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/166 [^] |
(0152908) hgbot (developer) 2023-07-27 10:23 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^] Changeset: e7b5c50698bb2f3af0ae0f9e0e5558b7f661a27d Author: Carlos Aristu <carlos.aristu@openbravo.com> Date: 21-07-2023 14:47:58 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/e7b5c50698bb2f3af0ae0f9e0e5558b7f661a27d [^] fixes ISSUE-52986: replace context.url property usage Get the context information from the WS request itself instead of using context.url property. This way we avoid providing a broken link in the import response in case that property is not set. --- M src/org/openbravo/api/service/ApiRequestStatusWebService.java --- |
(0152909) hgbot (developer) 2023-07-27 10:23 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/166 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2023-07-18 08:43 | alostale | New Issue | |
2023-07-18 08:43 | alostale | Assigned To | => Triage Platform Conn |
2023-07-18 08:43 | alostale | Triggers an Emergency Pack | => No |
2023-07-21 14:50 | hgbot | Note Added: 0152801 | |
2023-07-27 10:18 | alostale | Relationship added | related to 0049221 |
2023-07-27 10:18 | alostale | Assigned To | Triage Platform Conn => caristu |
2023-07-27 10:23 | hgbot | Resolution | open => fixed |
2023-07-27 10:23 | hgbot | Status | new => closed |
2023-07-27 10:23 | hgbot | Note Added: 0152908 | |
2023-07-27 10:23 | hgbot | Note Added: 0152909 |
Copyright © 2000 - 2009 MantisBT Group |