apostrophecms / apostrophe

A full-featured, open-source content management framework built with Node.js that empowers organizations by combining in-context editing and headless architecture in a full-stack JS environment.
https://apostrophecms.com
Other
4.36k stars 590 forks source link

500 an error has occured when translating pages that have diacritics in page title #3613

Closed Miselrkba closed 2 years ago

Miselrkba commented 2 years ago

Tested on Apostrophe Version 3.9.0 and 3.11.0

As the title says when translating a page or piece that has diacritics in the title you get 500 error.

Console says 404 cannot find page and the slug is messed up.

A similar issue has been opened here. https://github.com/apostrophecms/apostrophe/issues/3488

Someone has already figured it out in the comments: https://github.com/apostrophecms/apostrophe/issues/3488#issuecomment-958982329

Is there any way we could move this forward please?

To Reproduce

Step by step instructions to reproduce the behavior:

  1. create a page or piece in SK locale with á é í ó ú ñ in title (for example Dopravná nehoda pri Ilave - Mikšík Jozef)
  2. Click on EN locale and translate
  3. See 500 error on screen and 404 in console with slug messed up
abea commented 2 years ago

I can raise the priority of the associated internal ticket for this. We're still open to PRs for it until we are able to get to this.