0

This is Sitecore 9.0.2, and I do not have any custom item:saved/item:saving pipelines going. On this template, in only one particular field (a general link field), if I make any change to the field (such as clearing it, changing the link, etc), when I save the value reverts to the existing value. This happens if I clear the field from the raw values as well. This is not happening on any other field in the item/template.

9
  • Can you check logs? – Himanshu Agarwal Jun 12 '19 at 10:40
  • Is this field compulsory to have a value? Check if there is any default value set or not? – Vinayak Chauhan Jun 12 '19 at 10:55
  • The field used to be Shared, right? and now isn't, Or used to be in a different shared/versioned/unversioned state before than it is now, right? – Mark Cassidy Jun 12 '19 at 11:15
  • @MarkCassidy That's correct, it used to be shared, and now it isn't. I'm noticing this issue doesn't occur in my local instance, but does in our Azure environments. – Ken McAndrew Jun 12 '19 at 13:23
  • Run Control Panel > Cleanup Databases - then try again – Mark Cassidy Jun 12 '19 at 13:39
0

I have got the same issue, but with other field types.

Steps how I reproduced the same issue:

  1. We have Unicorn serialization
  2. We have automated deployment of Unicorn
  3. I changed few(but it could be even one) types. The field was Shared, I ticked off the shared checkbox.
  4. Changes were deployed (Unicorn sync and then publish)

After these steps, it became impossible to change and save the value in the field. But you can get the same issue with other steps, e.g. installation of the package, where the field was not Shared (but was Shared before). And the same issue could happen when you modify Unversioned checkbox on the template.

How to fix this problem:

Option 1: Fix with template manipulations

  1. Backup your solution
  2. Open template that was changed
  3. Manually set Shared and Unversioned checkbox values that were before you got this issue
  4. Save and publish the template
  5. Manually set Shared and Unversioned checkbox values to desired state
  6. Save and publish the template

Option 2: Follow Sitecore KB article

  1. IMPORTANT! Back up your solution.
  2. Copy the Sitecore.Support.310642.dll assembly to the /bin folder.
  3. Copy the Sitecore.Support.310642.config file to the /App_Config/Include folder.
  4. Copy the FixFieldSharing.aspx file to the /sitecore/admin folder of your solution.
  5. Request the /sitecore/admin/FixFieldSharing.aspx URL and run the fix process for each of the affected databases.
  6. Remove all the files added in the previous steps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.