logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Joe Payne2  
#1 Posted : Monday, August 23, 2021 2:48:02 PM(UTC)
Joe Payne2

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?

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shaharyar  
#2 Posted : Tuesday, August 24, 2021 2:35:04 AM(UTC)
shaharyar

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!
Users browsing this topic
Guest (2)
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.