Page MenuHomePhabricator

cross-wiki notifications: after clicking 'View changes' - 'There are no notifications' is displayed.
Closed, ResolvedPublic

Description

  1. With enabled cross-wiki notification leave a message/create a new section on a wikitext User talk page.
  2. In a different wiki, a user receives a notification about their User talk page changes:

Screen Shot 2016-02-15 at 4.32.39 PM.png (319×577 px, 46 KB)

  1. Clicking on 'View changes' - 'Difference between revisions ...' page is displayed.
    Screen Shot 2016-02-15 at 4.32.51 PM.png (318×699 px, 55 KB)
  2. Returning (browser back button) will display.

Screen Shot 2016-02-15 at 4.33.42 PM.png (213×673 px, 35 KB)

Event Timeline

Etonkovidova raised the priority of this task from to Needs Triage.
Etonkovidova updated the task description. (Show Details)
Etonkovidova added a project: Notifications.
Etonkovidova subscribed.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript

I think this is part of a more general bug: if the foreign notifications item changes (wikis are added/removed, numbers change) but the foreign notifications item has already been rendered ones, the UI isn't updated even after it re-fetches this information.

Change 279428 had a related patch set uploaded (by Mooeypoo):
[wip] Update notifications when reopening the popup

https://gerrit.wikimedia.org/r/279428

This is currently blocked on a bug that already exists but is exposed more with the current fix.

When notification bundles are updated, their ID is different, which means that there is no way for the code to tell that the bundle already exists in the list and should be changed. Instead, the popup adds another (redundant) notification as it is new.

Change 279428 merged by jenkins-bot:
Update notifications when reopening the popup

https://gerrit.wikimedia.org/r/279428

Checked the fix in betalabs. The issue is not present anymore.