I've been doing a lot of work on our site today, almost entirely concerned with modifying CSS. The most recent changes I made were simply changing a bunch of font colours.
Now, when I attempt to edit any page (or add a new page), I receive the following error:
Traceback (innermost last): Module ZPublisher.WSGIPublisher, line 155, in transaction_pubevents Module ZPublisher.WSGIPublisher, line 337, in publish_module Module ZPublisher.WSGIPublisher, line 255, in publish Module ZPublisher.mapply, line 85, in mapply Module ZPublisher.WSGIPublisher, line 61, in call_object Module plone.z3cform.layout, line 63, in __call__ Module plone.z3cform.layout, line 47, in update Module plone.dexterity.browser.edit, line 58, in update Module plone.z3cform.fieldsets.extensible, line 65, in update Module plone.z3cform.patch, line 30, in GroupForm_update Module z3c.form.group, line 141, in update Module z3c.form.group, line 52, in update Module z3c.form.group, line 48, in updateWidgets Module z3c.form.field, line 277, in update Module plone.app.z3cform.widget, line 443, in update Module z3c.form.browser.text, line 36, in update Module z3c.form.browser.widget, line 171, in update Module Products.CMFPlone.patches.z3c_form, line 47, in _wrapped Module z3c.form.widget, line 132, in update Module plone.app.z3cform.converters, line 176, in toWidgetValue Module plone.app.z3cform.widget, line 399, in get_vocabulary Module plone.app.vocabularies.principals, line 235, in __call__ Module zope.schema.vocabulary, line 128, in __init__ ValueError: term values must be unique: 'ika'
"ika", in the last line, may refer to the username of a test user that I've been logging in as, but is not the username I'm currently logged in as when I receive the error, nor has that user edited or created any pages. (They're the user I use to test what the site looks like to someone who can login but has no other permissions.)
All of the changes I was making to the site prior to this error appearing were constrained to the theme I'm working on, so I tried switching back to Barceloneta, but I still receive the same error.