verbb / zen

A Craft CMS plugin to manage content across multiple environments with ease.
Other
3 stars 0 forks source link

Excluding of elements not possible in German locale #6

Closed gglnx closed 8 months ago

gglnx commented 8 months ago

Describe the bug

It's the Umlauts again. Zen uses the translated labels as IDs / form names, which gets encoded to a JSON and JSON decoding fails on the backend.

SCR-20240305-rufp

The exception:

Malformed UTF-8 characters, possibly incorrectly encoded /vendor/yiisoft/yii2/helpers/BaseJson.php:147 /vendor/yiisoft/yii2/helpers/BaseJson.php:128

Steps to reproduce

  1. Switch to German
  2. Start an import
  3. Exclude one element from »Einträge« (entries)
  4. Start the import

Craft CMS version

4.8.0

Plugin version

1.0.3

Multi-site?

No response

Additional context

No response

engram-design commented 8 months ago

Fixed for the next release. To get this early, run composer require verbb/zen:"dev-craft-4 as 1.0.3".

gglnx commented 8 months ago

Works, thank you!