[MAGNOLIA-8546] MalformedInputException on TempResourceOriginProvider.mountClasspathLocation Created: 02/Sep/22  Updated: 30/Sep/22  Resolved: 02/Sep/22

Status: Closed
Project: Magnolia
Component/s: resource-loader
Affects Version/s: None
Fix Version/s: 6.3.0

Type: Bug Priority: Neutral
Reporter: Michael Duerig Assignee: Michael Duerig
Resolution: Fixed Votes: 0
Labels: foundation_team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLDEMO-404 Upgrade to Mockito 4 Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Team: Foundation

 Description   

Steps to reproduce

See test case

Expected results

Test passes

Actual results

Test fails with MalformedInputException

Development notes

TempResourceOriginProvider.mountClasspathLocation fails with MalformedInputException when the mounted location contains binary files. The root cause is the implementation trying to open the files in text mode.


Generated at Mon Feb 12 04:33:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.