Upgraded from 9.1.2 to 9.5.1 (using deb/mysql and aptitude update, xwiki.store.migration=1) and found that new notification functionality doesn’t work: when I try to change notification properties server returns 500, with exceptions in log like this:
Jul 24, 2017 4:46:56 PM org.restlet.engine.application.StatusFilter doHandle
WARNING: Exception or error caught in status service
java.lang.IllegalStateException: The Web form cannot be parsed as no fresh content is available. If this entity has been already read once, caching of the entity is required
After some research I found that user objects don’t have appropriate notification fields. And if I add these properties manually on user page (by adding class XWiki.Notifications.Code.NotificationPreferenceClass to user object) I am able to save/edit these values.
The question: how to upgrade properly to have this functionality working?