Since updating sandbox to SC Ext 2024.2.0 i’m havi...
# suitecommerce
r
Since updating sandbox to SC Ext 2024.2.0 i’m having issues with an extension running queries on custom lists. It is throwing errors saying the custom list object doesn’t exist anymore, yet it does and worked fine before updating SC Ext. Any ideas on what the issue could be?
s
Well I would start by upgrading SCEM to 24.2.10 and reactivating your extensions. I would then check what permissions are set on your script – we recently changed the access schema for unauthorised users.
r
No dice. What permission should we be checking, as we have not set any custom permissions for the service file, and this extension is only used by logged in users.
s
Well, I was hinting at the unauthorised users ones but if it's for logged-in users that's different. I would check the role your logged-in users are using and ensure it has been assigned the correct permission there.
r
We didn’t need this before, and i’m unable to edit our custom SuiteCommerce role outside of adding access to custom records, but these are custom lists. will all our lists need converted to custom records to fix this?
s
Sorry, I'm chatting rubbish. You're talking about custom lists and I'm thinking about custom records
Circling back: the change to SCEM 24.2.x was to add in, automatically, the additional URL parameters when requesting Suitelets
So it could be related if you're using that functionality, or it could just be a coincidence
r
I’m thinking coincidence, but it is strange. If i set the service file to use a permission which i know has access to customlist records, then i get a different error of invalid syntax ‘\F\’ or something like that — lost in logs now. There isn’t a syntax error, though, because I opened the NS Script debugger tool and ran the query in there and it works fine logged in as the role i set the service file to use. When i remove the permission check, it goes back to “customlist_series” is not found error. 😒