Details
-
Bug
-
Resolution: Invalid
-
Major
-
None
-
10.10
-
None
-
PostgreSQL
-
Easy
-
Description
After Upgrade to version 10.10, the message listed below on the user's profile page and the notification bell occurred:
Failed to execute the [velocity] macro. Cause: [DefaultNotificationFilterPreference is not mapped [select nfp from DefaultNotificationFilterPreference nfp where nfp.owner =: owner order by nfp.id]]. Click on this message for details.
After searching, identified need to insert the <mapping resource = "notification-filter-preferences.hbm.xml" /> line into the hibernate.cfg file, however, another error occurred:
Failed to execute the [velocity] macro. Cause: [ERROR: relation "notification_filter_prefs" does not exist Position: 539]. Click on this message for details.
After new search, it was identified that it would be necessary to change the name of the 'notification_filter_preferences' table to another, 'notification_filter_prefs', due to change in version 10.8 (https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/10.8/#HIssuesspecifictoXWiki10.8).
The problem is that the notification_filter_preferences table doesn't exist!
What can I do? Create a new installation and rely on it to create the table, or is there another way to fix it?