Broken notifications UI / Rendering (10.7 -> 10.8)

After upgrading from 10.7 to 10.8, I get the following message on user profile pages and every time I tap on the notification bell icon, at the top menu bar.

I’m also showing 2 bell icons in the bar where only one should appear.

I have never modified the wiki macros / templates / skin /database or anything else of the sort.

Is someone else seeing this?

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.

When you have performed the upgrade, have you updated the hibernate.cfg.xml file?

You should find the following line:

<mapping resource="notification-filter-preferences.hbm.xml"/>

If this line is absent, you get the error you mentioned.

1 Like

@gdelhumeau I don’t see that info on https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/10.8/#HBackwardCompatibilityandMigrationNotes

@gdelhumeau Thank you, this seems to have resolved the issue.

Any ideas why I’m showing 2 bell icons on the menu bar, instead of just one?

Could you send a screenshot? It should not happen, actually.

Here it is:

xwiki%20double%20bell%20icon

You might have the page XWiki.Notifications.Code.NotificationsMenuUIX which should have been deleted by Distribution Wizard during the upgrade, normally. Please look if it’s the case, and try deleting this page if you find it.

1 Like

Where can I look this up?

Ok, plz ignore my last.

Found the page through the page index and deleted it.
Extraneous bell icon now removed.

Thank you so much fro your help!

Great. Do you remember if you have uncheck some pages during the last step of Distribution Wizard, during the upgrade?

FTR there’s some more info here: https://www.xwiki.org/xwiki/bin/view/FAQ/How%20can%20I%20navigate%20to%20a%20given%20page

1 Like

No, not that I can remember.