AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.4 Where do SEO generate-url errors get logged?
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
I can't seem to find how errors reported by the GenerateUrls() routine actually get logged or rendered anywhere.
When you use the SEO page to regenerate urls, it calls RebuildUrls()
RebuildUrls() then calls UrlGenerator.BuildCatalogUrls()
UrlGenerator.BuildCatalogUrls() calls GenerateCategoryUrls() and GenerateProductUrls()
Each of those routines throw an exception if the url exceeds maximum length, which is captured in the try-catch and an error message returned in a collection.
But those collections aren't passed back to the view in RebuildUrls(). And they aren't logged to the Able error log.
So the user has no idea if a specific url failed to generate due to a length issue.
Am I following that correctly?
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
You are right. We are not logging the error messages nor we are displaying them on screen. I am going to report this issue.
Thanks for pointing this out!
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.4 Where do SEO generate-url errors get logged?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close