I've tried to update SharePoint hosted app to a new version. It works great on SharePoint on-premises, but on SharePoint online I have a strange behavior - I've got the error
There was a problem accessing the file system on the server. Details: The URL of Custom Actions deployed by apps may not contain javascript or data URI.
In custom action of the app I have this handler
<CommandUIHandler Command="assembly.AssignToMe.Button.Command"
CommandAction="javascript: CustomAction.assignToCurrentUser();"
EnabledScript="javascript: CustomAction.enableDisableAssignToCurrentUser();">
</CommandUIHandler>
I've tried to remove the custom action from a new version, but I've got the same exception.
How can I solve this issue?