Sitecore CTRL+S fires item:saving event twice

If you have ever tried to implement your own Sitecore item:saving or item:saved event handlers, or have tried to extend the SaveUI pipeline, you might have noticed that the events gets fired twice if you click [CTRL]+[S], but only once if you click the [Save] button.

If this happens to you, check the Save button chunk in the CORE database.

  • Go to /sitecore/content/Applications/Content Editor/Ribbons/Chunks/Write/Save
    itemid: {12FF26DE-2BBC-4E60-A43A-735DF841E3CA}
  • Find the “Key Code” field.
  • Clear the field
/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Write/Save

/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Write/Save

It seems that the key code c83 will activate the SaveUI pipeline on [CTRL]+[S] even when Sitecore already called it.

MORE TO READ:

 

About briancaos

Developer at Pentia A/S since 2003. Have developed Web Applications using Sitecore Since Sitecore 4.1.
This entry was posted in Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9 and tagged , , , . Bookmark the permalink.

2 Responses to Sitecore CTRL+S fires item:saving event twice

  1. Love those small findings :D Would be even greater if Sitecore corrected them in future versions ;)

  2. Pingback: Sitecore publish certain items on save | Brian Pedersen's Sitecore and .NET Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.