Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0046579 | Openbravo ERP | A. Platform | public | 2021-05-07 11:30 | 2021-05-17 10:15 |
|
| 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 | PR21Q2 | Fixed in Version | PR21Q2 | |
| 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 | 0046579: 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 | | depends on | backport | 0046580 | PR21Q2 | closed | alostale | junit DataSourceSecurity.fetchShouldBeAllowedOnlyIfRoleIsGranted fails on Tomcat9 (only for Datasource: AccountTreeMovement) | | 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 11:30 | alostale | New Issue | |
| 2021-05-07 11:30 | alostale | Assigned To | => alostale |
| 2021-05-07 11:30 | alostale | OBNetwork customer | => No |
| 2021-05-07 11:30 | alostale | Modules | => Core |
| 2021-05-07 11:30 | alostale | Triggers an Emergency Pack | => No |
| 2021-05-07 11:30 | alostale | Issue generated from | 0046567 |
| 2021-05-07 11:30 | alostale | Relationship added | blocks 0046520 |
| 2021-05-07 11:31 | alostale | Status | new => scheduled |
| 2021-05-07 11:32 | alostale | Target Version | => PR21Q2 |
| 2021-05-17 08:10 | hgbot | Merge Request Status | => open |
| 2021-05-17 08:10 | hgbot | Note Added: 0128170 | |
| 2021-05-17 10:13 | hgbot | Merge Request Status | open => approved |
| 2021-05-17 10:15 | hgbot | Note Added: 0128200 | |
| 2021-05-17 10:15 | hgbot | Resolution | open => fixed |
| 2021-05-17 10:15 | hgbot | Status | scheduled => closed |
| 2021-05-17 10:15 | hgbot | Fixed in Version | => PR21Q2 |
| 2021-05-17 10:15 | hgbot | Note Added: 0128201 | |