You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For anyone in the future reading this, I had this error too and fixed it:
slug_validation=Contentful::Management::Validation.newslug_validation.regexp={pattern: %r{^((\/)|(([\/\w\-\._~:!$&'\(\)*+,;@]|(%\d+))+))$}.inspect.gsub(%r{^/|/$},'')}slug_validation.message="That doesn't look like a valid slug"
namely by adding .inspect.gsub(%r{^/|/$}, '') got it to work for me, you can see below the difference namely with escape characters:
I am using the same slug regex as Compose and I am able to use it in the contentful UI however the migration is rejecting it.
Expected Behavior
Accept regex and create contentType
Actual Behavior
Steps to Reproduce
Environment
master
The text was updated successfully, but these errors were encountered: