skybrud / Skybrud.Umbraco.Redirects

Redirects manager for Umbraco.
https://packages.limbo.works/skybrud.umbraco.redirects/
MIT License
38 stars 41 forks source link

Can't edit Redirects - Error: [$interpolate:interr] on click in console #174

Closed SATC-Ben closed 1 year ago

SATC-Ben commented 1 year ago

Which version of Skybrud Redirects are you using? (Please write the exact version, example: 4.0.8)

4.0.10

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

11.3.1

Bug description

I installed a new version of Umbraco 10.3.1. When trying to edit, every click causes this error:

Error: [$interpolate:interr] http://errors.angularjs.org/1.8.3/$interpolate/interr?p0=%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%7Bredirect.destination.culture%7D%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20&p1=TypeError%3A%20Converting%20circular%20structure%20to%20JSON%0A%20%20%20%20--%3E%20starting%20at%20object%20with%20constructor%20'Object'%0A%20%20%20%20---%20property%20'culture'%20closes%20the%20circle at angular.min.js?d=7aca8c92d4a1cb162894522476fc6ed15b795668:7:168 at Ma.interr (angular.min.js?d=7aca8c92d4a1cb162894522476fc6ed15b795668:229:477) at v (angular.min.js?d=7aca8c92d4a1cb162894522476fc6ed15b795668:115:451) at d (angular.min.js?d=7aca8c92d4a1cb162894522476fc6ed15b795668:138:361) at angular.min.js?d=7aca8c92d4a1cb162894522476fc6ed15b795668:136:260 at m.$digest (angular.min.js?d=7aca8c92d4a1cb162894522476fc6ed15b795668:153:263) at m.$apply (angular.min.js?d=7aca8c92d4a1cb162894522476fc6ed15b795668:156:484) at k (angular.min.js?d=7aca8c92d4a1cb162894522476fc6ed15b795668:107:445) at v (angular.min.js?d=7aca8c92d4a1cb162894522476fc6ed15b795668:113:40) at y.onload (angular.min.js?d=7aca8c92d4a1cb162894522476fc6ed15b795668:113:464)

abjerner commented 1 year ago

Hi @SATC-Ben and thanks for reporting 👍

I hadn't come across this issue in U10 and U11, as the issue doesn't occur for all redirects. It therefore also took a bit of time to find and locate. I've pushed a new v4.0.11 which seems to fix this 😉

I actually had experienced this issue in Umbraco 12 RC, but thought it was more an issue with the RC - especially as I hadn't yet seen the issue in U10 and U11 🙊

SATC-Ben commented 1 year ago

@abjerner Awesome. Thanks so much for the work you do!