I have an issue with developers editing datasources for components in a page and those components being left locked after they have saved and left the page.
Example is editor edits Page A, which has a rich text component and a datasource to an item that is located under the page (/_local/rte). When the editor edits the rich text item, Sitecore automatically locks it. This is a benefit so they do not have check it out for edit. But when the editor is complete, saves the item and even checks it in. The datasource items are left locked.
The answer seems to be to set the Sitecore setting AutomaticUnlockOnSaved
to true. This causes items to unlock when saved. The only issue is that it only does this when saving an item in the content editor. NOT the experience editor. And in the content editor, it only unlocks the current item. Not the datasource items for all the components in the page.
http://sitecoreart.martinrayenglish.com/2016/02/sitecore-8x-component-datasource-item.html
Has anyone dealt with this issue before? I haven't used SXA in a while, I wonder if they solved it there, since SXA is so components based.
Seems like maybe I need to add a SaveUI pipeline processor to unlock the child items on save.