All,
I’m hoping you all can help me with an issue with the Wix collections. On a high level, this is what is happening on the published site (if I run the same scenario in Preview mode, everything works as expected). I log in a user and test to see if a profile is available. If not, one is created and saved. That works fine. However, if I want to open the profile, alter it, and save it back, that does not work on the published site. Again, Preview mode works fine. I’ve used the options to indicate permissions do not matter, but that does not work either. Any ideas?
// Log in User
// Apply Session Token
// Call wixData.query, valid result is returned
// result is altered
// result is not saved or updated
// Log in User
// Apply Session Token
// wixData.query, no result is returned
// object is created
// object is saved