Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0055012 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2024-03-20 14:14 | 2024-04-09 09:27 | |||
Reporter | nicola_uva | View Status | public | |||||
Assigned To | meriem_azaf | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | PR24Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | pi | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | QA functional test | |||||||
Regression date | 2024-02-26 | |||||||
Regression introduced in release | pi | |||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/openbravo/-/commit/01c9d899e4fab5431f3ab1d2d87c92297fcf464d [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0055012: Business API Data Load window: Not possible to load the data - InvalidCSRFToken | |||||||
Description | Is not possible load data through the Business API Data Load window. An InvalidCSRFToken error message is showed in the log. | |||||||
Steps To Reproduce | 1) go to https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql [^] 2) open the window Business API Data Load 3) select the entity you want to load (e.i Gifcard) and load the csv file 4) click "Done" button -> an ERROR is showed. See the log attached | |||||||
Tags | No tags attached. | |||||||
Attached Files | InvalidCSRFToken.log [^] (6,612 bytes) 2024-03-20 14:14 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0162533) AugustoMauch (administrator) 2024-03-22 09:16 edited on: 2024-03-22 09:19 |
Missing csrfToken in request: add [1] here [2] [1] formData.append('csrfToken', OB.User.csrfToken) [2] https://gitlab.com/openbravo/product/openbravo/-/blob/master/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js?ref_type=heads#L490 [^] |
(0162544) hgbot (developer) 2024-03-22 11:05 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1178 [^] |
(0162951) hgbot (developer) 2024-04-09 09:27 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1178 [^] |
(0162952) hgbot (developer) 2024-04-09 09:27 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 7aecbb28ae54e0cdbdd3570a064a4f54c521b33e Author: Meriem Azaf <m.azaf@orisha.com> Date: 09-04-2024 07:27:13 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/7aecbb28ae54e0cdbdd3570a064a4f54c521b33e [^] Fixes ISSUE-0055012: Problem in loading the data in BUsiness API Data Load window Problem in loading data through the Business API Data Load window. An InvalidCSRFToken error message is showed in the log. The problem is that now we are checking that the csrfToken parameter of POST requests, but we missed to include the CSRF token in one of them. So we include it. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2024-03-20 14:14 | nicola_uva | New Issue | |
2024-03-20 14:14 | nicola_uva | Assigned To | => Triage Platform Base |
2024-03-20 14:14 | nicola_uva | File Added: InvalidCSRFToken.log | |
2024-03-20 14:14 | nicola_uva | Modules | => Core |
2024-03-20 14:14 | nicola_uva | Triggers an Emergency Pack | => No |
2024-03-20 14:17 | alostale | Assigned To | Triage Platform Base => Triage Platform Conn |
2024-03-22 09:15 | AugustoMauch | Regression level | => QA functional test |
2024-03-22 09:15 | AugustoMauch | Regression date | => 2024-02-26 |
2024-03-22 09:15 | AugustoMauch | Regression introduced in release | => pi |
2024-03-22 09:15 | AugustoMauch | Regression introduced by commit | => https://gitlab.com/openbravo/product/openbravo/-/commit/01c9d899e4fab5431f3ab1d2d87c92297fcf464d [^] |
2024-03-22 09:16 | AugustoMauch | Note Added: 0162533 | |
2024-03-22 09:16 | AugustoMauch | Assigned To | Triage Platform Conn => meriem_azaf |
2024-03-22 09:19 | AugustoMauch | Note Edited: 0162533 | View Revisions |
2024-03-22 11:05 | hgbot | Note Added: 0162544 | |
2024-03-22 11:35 | alostale | Relationship added | caused by 0051321 |
2024-04-08 14:04 | meriem_azaf | Status | new => scheduled |
2024-04-09 09:27 | hgbot | Note Added: 0162951 | |
2024-04-09 09:27 | hgbot | Resolution | open => fixed |
2024-04-09 09:27 | hgbot | Status | scheduled => closed |
2024-04-09 09:27 | hgbot | Fixed in Version | => PR24Q3 |
2024-04-09 09:27 | hgbot | Note Added: 0162952 | |
2024-05-21 17:04 | caristu | Relationship added | causes 0055542 |
Copyright © 2000 - 2009 MantisBT Group |