Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0046567 | Openbravo ERP | A. Platform | public | 2021-05-05 16:38 | 2021-05-17 10:16 |
|
| Reporter | shuehner | |
| Assigned To | alostale | |
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | PR21Q1.2 | Fixed in Version | PR21Q1.2 | |
| 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 | 0046567: junit DataSourceSecurity.fetchShouldBeAllowedOnlyIfRoleIsGranted fails on Tomcat9 (only for Datasource: AccountTreeMovement) |
| Description | This junit test fails when application is deployed on tomcat 9.x but only for the specific datasource AccountTreeMovement.
It shows 4 failures as four RoleTypes are tested for each dataSource.
Problem is the test triggering the following error on tomcat 9.x:
May 05 12:27:36 ip-172-31-9-130 tomcat9[2709]: Error parsing HTTP request header
May 05 12:27:36 ip-172-31-9-130 tomcat9[2709]: Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
May 05 12:27:36 ip-172-31-9-130 tomcat9[2709]: java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
|
| Steps To Reproduce | Deploy application with tomcat 9.x
ant run.test -Dtest=org.openbravo.test.datasource.DataSourceSecurity
Check result*.xml file in src/ folder for the result of the test run |
| Proposed Solution | Fix the invalid request target (values in url) to be valid.
|
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | blocks | defect | 0046520 | PR21Q3 | closed | alostale | junit DataSourceSecurity.fetchShouldBeAllowedOnlyIfRoleIsGranted fails on Tomcat9 (only for Datasource: AccountTreeMovement) |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2021-05-07 08:11 | alostale | Type | defect => backport |
| 2021-05-07 08:11 | alostale | Target Version | PR21Q3 => PR21Q1.2 |
| 2021-05-07 11:30 | alostale | Issue cloned | 0046579 |
| 2021-05-17 08:03 | hgbot | Merge Request Status | => open |
| 2021-05-17 08:03 | hgbot | Note Added: 0128168 | |
| 2021-05-17 10:16 | hgbot | Merge Request Status | open => approved |
| 2021-05-17 10:16 | hgbot | Resolution | open => fixed |
| 2021-05-17 10:16 | hgbot | Status | scheduled => closed |
| 2021-05-17 10:16 | hgbot | Note Added: 0128204 | |
| 2021-05-17 10:16 | hgbot | Fixed in Version | => PR21Q1.2 |
| 2021-05-17 10:16 | hgbot | Note Added: 0128205 | |