AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.4 site urls suddenly showing the native url
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)
|
Our dev site has suddenly started showing native urls ie /Category/Index/7 in the browser address bar instead of the actual url
Any ideas on where to look? I don't even know where to start.
|
|
|
|
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)
|
It seems that the ac_CatalogUrls has no Url saved for that category. You can confirm by looking into the table data.
|
|
|
|
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)
|
Yup. That's it. How they disappeared, I have no idea. Somebody must have fired the rebuild.
This RebuildUrls() routine is killing me. I'm having to rewrite it to properly identify when a generated url already exists and needs the -P123. And even then, I'm running into problems.
I still can't fully explain why it won't identify a url that actually does already exist in the table. My only theory is it has something to do with how SQL transactions are isolated from each other. If the nHibernate query to look up a url is in a different sql transaction than the transaction that created the new url, I don't think it will see the created url until that transaction is committed.
At least in my app it's not seeing it at all.
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.4 site urls suddenly showing the native url
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