nephila / djangocms-blog

django CMS blog application - Support for multilingual posts, placeholders, social network meta tags and configurable apphooks
https://djangocms-blog.readthedocs.io
BSD 3-Clause "New" or "Revised" License
403 stars 190 forks source link

NoReverseMatch if slug contains special characters when updating to 1.2.1 #653

Closed taut-and-yare closed 3 years ago

taut-and-yare commented 3 years ago

Description

In a working installation of the blog, I am trying to upgrade from 1.1.1 --> 1.2.1

Post.get_absolute_url throws a NoReverseMatch error when slug contains special characters (umlauts etc.)

Steps to reproduce

Add new post containing a "special character" ( e.g. ü )

Versions

python 3.6, Django 2.2, django-cms 3.7.4, djangocms-blog 1.2.1

Expected behaviour

Post appears in list and detail pages.

Actual behaviour

Additional information

In the shell:

Screen Shot 2020-11-30 at 12 32 34 PM

Note that in the live site ( where djangocms-blog==1.1.1 ) all works as expected for the same post as above

yakky commented 3 years ago

@taut-and-yare this has been fixed in PR #654 kindly provided by @pierreben :bow: