Change this line: ```arguments[1] = hashedUrl.toSt...
# suitecommerce
m
Change this line:
Copy code
arguments[1] = hashedUrl.toString().replace(window.location, "");
With this one:
Copy code
arguments[1] = decodeURIComponent(hashedUrl.toString().replace(window.location, ""));
s
Thanks.
@Martin There seems to be some difficulty replicating this exact one. How are you doing this exactly? Just example.com?test=true ?
m
I saw the error, happens on the matrix items for example, it populates the parameters with the fields, once you refresh the page for example, code goes boom
s
Hmm, I'm not able to replicate that
m
the page that I tested had blogs and reviews
m
Hi @Steve Goldberg yes it happends when there is a call to a suitlet in the page and the url of the page has parameter
try it with a blog page
since the blog has a suitlet call
m
it’s not just the blogs, it’s broken the PDP if you have a matrix item (select the options and refresh) and the PLP if you go to a 2nd page or change the display to table (and refresh)
m
Yes I know hehe (i found the issue πŸ˜›) but was a clear example to replicate the issue
🐞 1
s
hmmm, I'm still not able to replicate this πŸ€”
m
suitecommerce standard, not advance
πŸ€” 1
m
i have only tested on SCA, but should be the same
r
I was able to reproduce the error Martin had when I was testing using seodebug=T&preview=<randomChars> for testing SEO Page generator yesterday -- it was also fixed after applying his workaround.
πŸ™Œ 2
s
I am being told that the 24.2.10 version of SCEM fixes the URL parameter problem, which is why it's not replicable on my site
☝🏻 1
πŸ™Œ 2
βœ… 1
m
Hey @Steve Goldberg, do you know when the 24.2.10 is going to get pushed to prod? Im seeing the update on a few clients but can not manually trigger it. Thanks!
πŸ™‹β€β™‚οΈ 1
s
I don't have but if it's causing your site to error then I would raise a case and request it
m
sounds great. Thanks!
m
I just want to confirm that with 2024.2.10 all issues are gone, thanks for the quick response on this!
πŸ™Œ 2
πŸ‘πŸ» 1
k
Thanks for that update - I just downloaded 24.2.10