Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053672Openbravo ERPC. Securitypublic2023-10-17 10:102023-10-25 15:30
ebecerra 
Triage Platform Base 
normalmajorhave not tried
newopen 
5
 
 
Core
No
0053672: HTTP PUT and HTTP DELETE should accept CORS
Nowadays the HTTP methods allowed for cross-domain calls are POST, GET and OPTIONS.
While developing 53527 we realized that we need to allow request using CORS for PUT and DELETE
CRM connector (without coding) launches requests against an external system that can be configured in a different domain.

The CRM that we prepared for testing is running on OB but when we try to use it from a development environment (POS executed in npm server) requests to the back office (CRM example for testing purposes) are in another domain so these operations (PUT, DELETE) does not work
See attachment image
No tags attached.
png Cors.png (62,169) 2023-10-17 10:10
https://issues.openbravo.com/file_download.php?file_id=19037&type=bug
png
Issue History
2023-10-17 10:10ebecerraNew Issue
2023-10-17 10:10ebecerraAssigned To => Triage Platform Base
2023-10-17 10:10ebecerraFile Added: Cors.png
2023-10-17 10:10ebecerraModules => Core
2023-10-17 10:10ebecerraTriggers an Emergency Pack => No
2023-10-25 15:27guilleaerSummaryMust be included the HTTP methods: PUT and DELETE for CORS validations => HTTP PUT and HTTP DELETE should accept CORS
2023-10-25 15:27guilleaerDescription Updatedbug_revision_view_page.php?rev_id=27028#r27028
2023-10-25 15:27guilleaerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27030#r27030
2023-10-25 15:30guilleaerDescription Updatedbug_revision_view_page.php?rev_id=27031#r27031
2023-10-25 15:30guilleaerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27032#r27032

There are no notes attached to this issue.