Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0046572 | Openbravo ERP | A. Platform | public | 2021-05-07 10:13 | 2021-05-10 08:22 |
| Reporter | alostale | ||||
| Assigned To | alostale | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | PR21Q3 | |||
| Merge Request Status | approved | ||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0046572: ws tests fail having modules in development | ||||
| Description | Having modules in development, some web service junit tests fail due to incorrect CSRF token management. | ||||
| Steps To Reproduce | 1. Set core in developemnt 2. start tomcat 3. run DataSourceSecurity ERROR: 10:10:47.003 INFO org.openbravo.test.base.OBBaseTest - *** Starting test case: org.openbravo.test.datasource.DataSourceSecurity.fetchShouldBeAllowedOnlyIfRoleIsGranted[ADMIN_ROLE - dataSource: ProductByPriceAndWarehouse] 10:10:47.213 ERROR org.openbravo.test.datasource.BaseDataSourceTestDal - Cannot retrieve CSRF Token java.lang.Exception: Cannot find CSRF Token in SessionDynamic response at org.openbravo.test.datasource.BaseDataSourceTestDal.findCsrfTokenInResponse(BaseDataSourceTestDal.java:125) ~[classes/:?] at org.openbravo.test.datasource.BaseDataSourceTestDal.getTokenFromSessionDynamic(BaseDataSourceTestDal.java:111) [classes/:?] | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2021-05-07 10:13 | alostale | New Issue | |||
| 2021-05-07 10:13 | alostale | Assigned To | => platform | ||
| 2021-05-07 10:13 | alostale | OBNetwork customer | => No | ||
| 2021-05-07 10:13 | alostale | Modules | => Core | ||
| 2021-05-07 10:13 | alostale | Triggers an Emergency Pack | => No | ||
| 2021-05-07 10:13 | alostale | Assigned To | platform => alostale | ||
| 2021-05-07 10:23 | hgbot | Merge Request Status | => open | ||
| 2021-05-07 10:23 | hgbot | Note Added: 0127883 | |||
| 2021-05-10 08:22 | hgbot | Merge Request Status | open => approved | ||
| 2021-05-10 08:22 | hgbot | Resolution | open => fixed | ||
| 2021-05-10 08:22 | hgbot | Status | new => closed | ||
| 2021-05-10 08:22 | hgbot | Note Added: 0127924 | |||
| 2021-05-10 08:22 | hgbot | Fixed in Version | => PR21Q3 | ||
| 2021-05-10 08:22 | hgbot | Note Added: 0127925 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||