[MAGNOLIA-5521] Partial Bootstrap does not work with UTF-8 files (XmlParseException) Created: 29/Nov/13  Updated: 03/Jan/14  Resolved: 02/Jan/14

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 4.5.14, 5.2
Fix Version/s: 4.5.15, 5.2.2

Type: Bug Priority: Neutral
Reporter: Sigurd Rolfes Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: maintenance, support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File parseexception-stacktrace.txt    
Issue Links:
Relates
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

We are trying to (partial) bootstrap a file that is UTF-8 and has umlauts inside, e. g. title of a page.

When bootstrapping the file with BootstrapSingleModuleResource task everything is fine. Bootstrapping a complete subtree file with this task also works fine.

When trying to use PartialBootstrapTask with complete website export xml Mgnl crashes with XmlParseException (Invalid byte 2 of 3-byte UTF-8 sequence).

To reproduce:

-create a subpage in a website tree and set title or description to "Grüße"
-export complete tree and save xml as utf-8 file
-create PartialBootstrap task with the node of the subpage


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