hi,
I 'm getting this error "Uncaught TypeError: Cannot read property 'RmsSupportedExtensions' of undefined" from the file "core.js" in the "MasterPage Gallery", "List Template Gallery", "WebPart Gallery" when i try to select a document/item in that gallery. And the ribbon options under "Files" & "Library" tabs were disabled even though i am a site collection administrator. I am struggling with this issue from last couple of days? Everything was working fine before with no issues. Also, I haven't made any changes to the site or a template. Suddenly one day when i open the masterpage gallary and added a script file and then tried to publish the file and that where it is not allowing me to do so. I have attached couple of Screenshots.
Below is the Complete error Stack If this would help you in resolving the Issue:
"TypeError: Unable to get property 'RmsSupportedExtensions' of undefined or null reference\n at AddDocLibMenuItems (static.sharepointonline.com/.../core.js:1:265960)\n at BuildMenu (static.sharepointonline.com/.../core.js:1:228413)\n at BuildMenuWithInit (static.sharepointonline.com/.../core.js:1:227645)\n at SP.Utilities.Internal.ECBAdapter.prototype.$1y_0 (static.sharepointonline.com/.../sp.core.js:2:53788)\n at SP.Utilities.Internal.ECBAdapter.prototype.$1X_0 (static.sharepointonline.com/.../sp.core.js:2:53504)\n at SP.Utilities.Internal.ECBAdapter.prototype.$1t_0 (static.sharepointonline.com/.../sp.core.js:2:52113)\n at SP.Utilities.Internal.ECBAdapter.prototype.canHandleECBCommand (static.sharepointonline.com/.../sp.core.js:2:51750)\n at SP.Ribbon.ListViewWebPartPageComponent.prototype.canHandleCommand (static.sharepointonline.com/.../sp.ribbon.js:2:19497)\n at SP.Ribbon.DocLibWebPartPageComponent.prototype.canHandleCommand (static.sharepointonline.com/.../sp.ribbon.js:2:58365)\n at CUI.Page.FocusManager.prototype.callCommandHandlerForEnabled (static.sharepointonline.com/.../cui.js:1:334638)"
When i select a document from the masterpage gallery:
I have encountered with the below error:
After passing through the error, And click on the "Files" tab from the Ribbon. It displays as all the options are disabled.
And click on the "Library" tab from the Ribbon, Does the same as all the options were disabled.
And Now i clicked on "Files" tab again and immediately i click back the "Library" tab, Now all the options were enabled. But in the "Files" tab all the options were enabled i.e "discard check-out", "Check-in", "Check-out", "Publish', "UnPublish", "Approve/Reject", "Cancel Approval" etc. And when i click on Approve, it does nothing.
Please let me know if you need more info.
Thanks