• 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
    • Approval queue issues

    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: Approval queue issues

    • Issue Tools
      • View Changes
    1. issueid=6282 December 5, 2021 11:32 AM
      expanserpb expanserpb is offline
      Junior Member
      Approval queue issues

      1. User proposed a category
      2. I denied it in the queue
      3. It exists visible to staff and I can neither fully delete nor approve it

      Errors:


      M
      Stack trace
      #0 src/addons/vw/vw/_core/model/pm/xf2.php(40): XF\Service\Conversation\Creator->save()
      #1 src/addons/vw/vw/Handler/ApprovalQueue/base.php(183): vw_PM_Model_XF2->send(Array, Array, Array)
      #2 src/addons/vw/vw/Handler/ApprovalQueue/base.php(108): vw\vw\Handler\ApprovalQueue\base->vwSendNotifications('denied', Object(vw_DM_Page_Controller_XF2))
      #3 src/XF/ApprovalQueue/AbstractHandler.php(122): vw\vw\Handler\ApprovalQueue\base->actionDeny(Object(vw_DM_Page_Controller_XF2))
      #4 src/XF/Job/ApprovalQueueProcess.php(67): XF\ApprovalQueue\AbstractHandler->performAction('deny', Object(vw_DM_Page_Controller_XF2))
      #5 src/XF.php(613): XF\Job\ApprovalQueueProcess->XF\Job\{closure}()
      #6 src/XF/Job/ApprovalQueueProcess.php(68): XF::asVisitor(Object(SV\Threadmarks\XF\Entity\User), Object(Closure))
      #7 src/XF/Job/Manager.php(260): XF\Job\ApprovalQueueProcess->run(8)
      #8 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
      #9 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
      #10 job.php(22): XF\Job\Manager->runByIds(Array, 8)
      #11 {main}
      Request state
      array(4) {
      ["url"] => string(8) "/job.php"
      ["referrer"] => string(40) "https://chroniclesrp.net/approval-queue/"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(5) {
      ["only_ids"] => array(1) {
      [0] => string(5) "48400"
      }
      ["_xfRequestUri"] => string(16) "/approval-queue/"
      ["_xfWithData"] => string(1) "1"
      ["_xfToken"] => string(8) "********"
      ["_xfResponseType"] => string(4) "json"
      }
      }

      15 src/XF/Mvc/Dispatcher.php(352): vw\vw\XF\Pub\Controller\InlineMod->actionPerform(Object(XF\Mvc\ParameterBag))
      #16 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:InlineMod', 'Perform', Object(XF\Mvc\RouteMatch), Object(vw\vw\XF\Pub\Controller\InlineMod), NULL)
      #17 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\XF\Pub\Controller\InlineMod), NULL)
      #18 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #19 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
      #20 src/XF.php(512): XF\App->run()
      #21 index.php(20): XF::runApp('XF\\Pub\\App')
      #22 {main}
      Request state
      array(4) {
      ["url"] => string(19) "/inline-mod/perform"
      ["referrer"] => string(55) "https://chroniclesrp.net/Folklore/The-Academy?do=delete"
      ["_GET"] => array(1) {
      ["/inline-mod/perform"] => string(0) ""
      }
      ["_POST"] => array(11) {
      ["harddelete"] => string(1) "2"
      ["returnid"] => string(4) "2879"
      ["returntype"] => string(1) "1"
      ["ids"] => array(1) {
      [10000000002912] => string(14) "10000000002912"
      }
      ["type"] => string(6) "vwpage"
      ["action"] => string(6) "delete"
      ["confirmed"] => string(1) "1"
      ["_xfToken"] => string(8) "********"
      ["_xfRequestUri"] => string(31) "/Folklore/The-Academy?do=delete"
      ["_xfWithData"] => string(1) "1"
      ["_xfResponseType"] => string(4) "json"
      }
      }
    Issue Details
    Issue Number 6282
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.3
    Fixed Version 4.1.4
    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. December 5, 2021 11:24 PM
      pegasus pegasus is offline
      VaultWiki Team
      In src/addons/vw/vw/_core/model/lock/vw.php, find:
      Code:
      //vw_DB::get()->func()->hide_errors();
      Replace with:
      Code:
      vw_DB::get()->func()->hide_errors();
      Find:
      Code:
      //vw_DB::get()->func()->show_errors();
      Replace with:
      Code:
      vw_DB::get()->func()->show_errors();
      In src/addons/vw/vw/_core/model/pm/xf2.php, find:
      Code:
      $userEntity = XF::app()->em()->instantiateEntity('XF:User', $from_user);
      BEFORE it, add:
      Code:
      if (empty($message_info['body'])) return;
      Also, I recommend changing AdminCP > Setup > Options > VaultWiki: Notifications > Notify moderated contributors, to Alert.
      Reply Reply  
    2. December 9, 2021 7:42 AM
      expanserpb expanserpb is offline
      Junior Member
      Also, I recommend changing AdminCP > Setup > Options > VaultWiki: Notifications > Notify moderated contributors, to Alert.


      If I do this, should a user who has content rejected get a notification? That didn't seem to come through. Also nothing in moderator log on approval/rejection
      Reply Reply  
    3. December 12, 2021 10:57 PM
      pegasus pegasus is offline
      VaultWiki Team
      Thanks for pointing that out. It looks like the (non-PM) notification/moderator log is only sent if the approval/rejection was initiated from the respective link on the content (not from the queue). We'll have to fix that.
      Reply Reply  
    4. December 28, 2021 3:10 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed. Non-PM notifications and moderator log entries will be sent for approval queue items in the next release.
      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 8:34 AM.
    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.