[MGNLUI-6116] Unable to keep Unicode character when uploading zip file in Assets app Created: 05/Aug/20  Updated: 05/Aug/20

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.1.5, 6.2.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Trung Luu Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File add_encoding_option_gbk.png     PNG File extract_compress_on_mac_and_upload_again.png     Zip Archive image-1.zip     PNG File some_images_have_chinese_character_name.png     PNG File upload_Zip_archive_save_invalid_name.png     PNG File utf8_enabled.png    
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   

Steps to reproduce:

  • Getting image-1.zip from client (using Window)
  • There is some chinese character in image name.
  • Set magnolia.utf8.enabled=true in properties
  • Open Assets app and then select Upload Zip archive action
  • Upload image-1.zip and choose encoding CP437/UTF-8
  • After process is finished, node name is invalid

Assumption:

  • Encoding when compress a zip file on Window was not supported from our side.

Expectation:

  • Window is common environment of content editor, It should be fixed.

Workaround:

  • Extract the zip file and compress again on Mac/Linux. It will work properly.

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