collective / Products.PloneKeywordManager

Change, merge and delete keywords (AKA tags or subjects) in Plone.
https://pypi.org/project/Products.PloneKeywordManager/
4 stars 8 forks source link

Redirect Broken After Delete #68

Closed flipmcf closed 2 years ago

flipmcf commented 2 years ago

After deleting a keyword, you are redirected to some strange url that is not correct:

https://test.example.com/Plone/('https%3A//test.example.com/Plone/prefs_keywords_view',)?field=Subject&s=deletethistag

Looks like 'url' is a tuple here: https://github.com/collective/Products.PloneKeywordManager/blob/893aaae255ddeee6a7e2c250580293bfa5648747/src/Products/PloneKeywordManager/browser/prefs_keywords_view.py#L171

Yep, it's a tuple: https://github.com/collective/Products.PloneKeywordManager/blob/bfef6860789d5c43846b0b1f43dc56524fff74d1/src/Products/PloneKeywordManager/browser/prefs_keywords_view.py#L161

flipmcf commented 2 years ago

It's looking good locally, I will close this after a bit more testing and using collective as my source instead of my fork.