• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • [4.1.2] Watched page notifications are not firing on new edits

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: [4.1.2] Watched page notifications are not firing on new edits

    • Issue Tools
      • View Changes
    1. issueid=6234 July 16, 2021 10:33 AM
      ACL ACL is offline
      Regular Member
      [4.1.2] Watched page notifications are not firing on new edits

      Have push notifications enabled on my test site, but for new edits to watched pages I'm not receiving on site alerts or device push notifications.

      Navigating to the ?do=watch does load in the watch settings I've previously specified.

      Alerts & push do send correctly for new pages in watched areas, and also for reactions to created pages. I can't speak about whether comments are affected, as I have them turned off.

      N.B. $config['enableMail'] is nominally set to false on my test site. However I did comment this out (true is the default) and repeat testing (watch a page from one account with push enabled and then edit that page with a different account)
    Issue Details
    Issue Number 6234
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Subscriptions
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.1.2
    Fixed Version 4.1.2
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 16, 2021 11:59 AM
      pegasus pegasus is offline
      VaultWiki Team
      In AdminCP > Setup > Options > VaultWiki: Notifications, is "Notify subscribers when pages are modified" checked?
      Reply Reply  
    2. July 16, 2021 12:03 PM
      ACL ACL is offline
      Regular Member
      Notify subscribers when pages are modified: Checked (Yes)

      Enable wiki subscriptions: Checked (Yes)

      ---

      EDIT 1:
      Page tested is a standard wiki page.

      Enable feed subscriptions: Checked (Yes)

      The following other notification admin options are off but shouldn't apply for this test case:
      Enable book subscriptions: Unchecked (No) - Book content type is disabled
      Enable category subscriptions: Unchecked (No) - Unsure why I unchecked this one but should be irrelevant to the standard page testing.

      EDIT 2:
      Have since enabled book and category subscriptions and repeated edit test on a 2nd account watched page. Same result with no alert or push notification.
      Reply Reply  
    3. July 16, 2021 5:51 PM
      pegasus pegasus is offline
      VaultWiki Team
      Check the receiving user's profile settings, Preferences > Receive a notification when someone…
      - Make sure that "Updates watched wiki content" is checked
      Reply Reply  
    4. July 16, 2021 5:59 PM
      ACL ACL is offline
      Regular Member
      Yes, alert preferences are correct.

      Updates watched wiki content:
      Alert: Checked (Yes)
      Push: Checked (Yes)

      Every choice under 'Receive a notification when someone...' is checked for Alert and Push.
      Reply Reply  
    5. July 17, 2021 8:55 AM
      ACL ACL is offline
      Regular Member
      I have since conducted further tests on a separate copy of XF + VW, this time from within my local home network running XF 2.1.x and VW 4.1.2b002. Admin option 'Notify subscribers when pages are modified' is checked. Every choice under Account preferences 'Receive a notification when someone...' is checked for Alert. Push is disabled here.

      1. With Area watch options enabled on first account and set to 'Alert only' for 'New edits', 'New child pages', 'New edits to child pages'. No alert was issued for a child page edit (Edited by second account).
      2. With Page watch options enabled on first account and set to 'Alert only' for 'New edits'. No alert was issued for a page edit (Edited by second account).
      3. With both Area and Page watch options enabled together for user 1, the outcome for user 2 page edits was the same as above.


      Opening table xf_user_alert, there is only a single row for content_type 'vwpage' and that is with action 'insert' from when I created a test page.
      Reply Reply  
    6. July 20, 2021 11:28 AM
      pegasus pegasus is offline
      VaultWiki Team
      I have confirmed the behavior you describe. I am not sure if it is limited to notifications, but when certain actions queue up deferred tasks (such as a task to send out notifications), some tasks are either failing to make it to the queue, or are getting deleted almost instantly. I will let you know as soon as I have more information.
      Reply Reply  
    7. July 24, 2021 12:28 PM
      pegasus pegasus is offline
      VaultWiki Team
      I have identified the issue. The fix will be included in the July patches this weekend.

      The problem is isolated to XenForo installations running VaultWiki 4.1.0 RC 2 or later. In this version, VaultWiki began allowing XenForo to fully handle storage of the IP address data for its content.

      When queuing the notifier task, VaultWiki includes a copy of the content, including joined table data, and hands that copy to the queue (in case the content is altered significantly before all notifications complete). This copy is JSON-encoded. However, XenForo encodes IP address data in a binary format, and binary data is not compatible with JSON, so the task ends up queued without a reference to the trigger content. When the task executes, since no content triggered it, there are no people watching to alert.

      This problem is not isolated to edit alerts, but also the last-update column in content lists, certain deleted content, and others. Some of these effects, such as orphaned content, are possible to correct in a future upgrade script; for others, the data is lost (not possible to send out alerts, since the trigger event has passed).
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 10:46 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.