ember-caluma icon indicating copy to clipboard operation
ember-caluma copied to clipboard

Slug validation does not consider namespaces

Open anehx opened this issue 4 years ago • 1 comments

Currently, it's possible to create slugs on forms or questions etc. that are longer than they should be. This happens when ember-caluma was namespaced. If you create a slug that is e.g 2 chars less than the limit and you have a namespace of "123" it will be 2 chars longer than the actual maximum ("123-..."). Creating it will work, however, this object can't ever be edited again.

anehx avatar Feb 25 '21 08:02 anehx

Should be done for options as well, but with the question slug (including namespace) as prefix

anehx avatar May 19 '21 11:05 anehx