The CreatorCon Call for Content is officially open! Get started here.

Error: editing a variable on a checked out item is restricted

Snow Tomcal
Tera Expert

Hi, I have a script that after creating a catalog item in catalog builder adds questions to the item.

The script stops after 2 questions and I get the error "Editing a variable on a checked out item is restricted". what can i do?

This happens only to non admin users.

It happens on one instance and on another my script works.

 

5 REPLIES 5

Mark Manders
Mega Patron

Probably the item is checked out on the instance it isn't working on? What happens if you publish it and run it then? If that doesn't work: what's the difference between the two instances?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

The script runs when a new catalog item is created from the catalog builder. I need the questions to be created as soon as the catalog item is created. There are not supposed to be any differences between the instance, one is a dev instance and the other test. 

"There are not supposed to be any differences" doesn't convince me that there indeed aren't any differences. Also: did you check if the item was checked out or not? I don't see that answer in your reply. If it works on one instance and not on another and it's both on a checked out item, there are other differences between the instances. Are they running on the same version? Are the plugins and apps all updated to the latest version? Is any other development being done, creating differences between the two?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

I don't know if there are any differences.... the item is sent to review in both instances. they are running on the same version, Vancouver,  the plugins and apps all updated to the latest version, or at least the same in both instances.