• 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
    • Mass Management Tools only replaces some.

    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: Mass Management Tools only replaces some.

    • Issue Tools
      • View Changes
    1. issueid=5217 September 6, 2017 2:55 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Mass Management Tools only replaces some.

      I am trying to replace all instances of imgl and imgr bbcode with the correct xf versions, by using the Mass Management Tools. However this only seems partly successful. After doing a replace not everything is replaced. I can keep doing the same replacement and it will always show the same pages.

      Is this a bug or can I set it to do all pages?
    Issue Details
    Issue Number 5217
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.0.19
    Fixed Version 4.0.19
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)


    Page 1 of 2 12 Next LastLast


    1. September 7, 2017 9:54 AM
      pegasus pegasus is offline
      VaultWiki Team
      To be able to answer that question, I will need to know all the criteria you are using for a replacement, and a link to a page that is not affected.
      Reply Reply  
    2. September 7, 2017 11:13 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Please try to replace as Text Modification Exact Match in all pages:
      [IMGR="white"]
      for
      [FLOAT_RIGHT][IMG]

      Replace all instances of the Search Text. There are thousands of instances. Use search to find them.
      Reply Reply  
    3. September 7, 2017 1:12 PM
      pegasus pegasus is offline
      VaultWiki Team
      After reviewing this, I see that the search returns route IDs rather than page IDs, which could result in the wrong pages being edited (or deleted!) if more specific criteria are used. Because this can lead to unintentional deletion of content, this will fall under the umbrella of a coming Patch Level release. There is no reason to make this issue private, because it is not possible to exploit this issue.

      In your case, even though you wanted to apply the change to all wiki pages, this had an effect because although all page IDs should have route IDs, not all route IDs refer to page IDs. For example, even if Page A has Page-ID 2 and Route-ID 20, it was possible that Page-ID 20 did not exist. Conversely, if Route-ID 3 referred to a synonym, then Page-ID 3 would not have been affected by the edit. Anyway, this is resolved on your site, so you should be able to continue making edits.

      This issue is a leftover from 2015, when the search system was updated to use route data, but the design of the vBulletin 3 search did not require this change. This has resulted in incorrect search results under vBulletin 3 since that time. The massive search was designed to use our custom vBulletin 3 search engine, because it allows both more specific and less specific criteria than the search engines in either vBulletin 4 or XenForo allow. By fixing this issue, VaultWiki on vBulletin 3 will now have correct search results.
      Reply Reply  
    4. September 11, 2017 12:56 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I assume that I best wait for the patch before putting the wiki live, because I need this function to work. Else there will be a mass of bug reports for things that can be replaced.

      Or can I just use DB queries?
      Reply Reply  
    5. September 12, 2017 10:53 AM
      pegasus pegasus is offline
      VaultWiki Team
      Anyway, this is resolved on your site, so you should be able to continue making edits.
      You cannot make these edits as DB queries; that is why this tool was needed in the first place.
      Reply Reply  
    6. September 12, 2017 12:08 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      ok. I will do another import, do the needed replacements and bring it live.
      Reply Reply  
    7. September 12, 2017 8:15 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I have reinstalled and done a new import. Then tried the mass replacement and still get the same pages after every search.
      Reply Reply  
    8. September 13, 2017 10:31 AM
      pegasus pegasus is offline
      VaultWiki Team
      If you are doing the same mass-search, then of course it will show the same results on the Prepared Results pages. It lists all pages that meet the search criteria. Replacement criteria are not processed until you actually process the replacement.
      Reply Reply  
    9. September 13, 2017 12:24 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I mean that after processing the replacement and then doing the same again, I get the same results. Yet, the pages should already be processed and not have the search text in it.
      Reply Reply  
    10. September 13, 2017 1:44 PM
      pegasus pegasus is offline
      VaultWiki Team
      After processing the replacement, the mass management search will still show the same prepared results, because those are pre-replacement results - again, only related to the search criteria (such as all pages in Area). The page would still match the same criteria. However, if the replacement was already done or is not relevant to the page, then it will be skipped when the replacement is performed.

      Mass Management Tools does multiple steps:
      1. Searches for pages in the wiki matching your criteria
      2. Shows all pages matching those criteria, even if they don't fit the replacement rules.
      3. If you proceed, it looks inside those results to see if any fit the replacement rules, and if so, performs the replacement.

      Mind the separate sections "Search Options" vs "Action Settings". The items on the prepared results page only adhere to "Search Options". Your selections for "Action Settings" are only applied if you proceed with the action.
      Reply Reply  
    11. September 14, 2017 6:04 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Is it possible that the bug is back with 4.0.19PL1 ?
      I can keep doing the same replacement. (the one I posted above) But I dont see change in the articles.
      Reply Reply  
    12. September 25, 2017 12:34 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Pegasus. I am stuck on this one. My live site is full of old code issues and VW3 links that I need to replace. I do not dare let Google crawl it yet.
      Reply Reply  
    13. September 25, 2017 2:08 PM
      pegasus pegasus is offline
      VaultWiki Team
      All the pages listed in your site's bug report 300110 have been replaced already.

      I found a page Chandu that had not been fully replaced yet, but when I tried the replacement above it updated the source fully. It is possible that you had selected the option to only change one occurrence per page.

      If you find specific pages that are not being processed, please link me to the specific page in question. Every time I try this on your site I get positive results.

      After my test, I still see some results for Wiki Pages containing IMGR, but they do not appear to match the pattern provided in your second post, so it is expected that they would not be replaced. If you are using a new pattern that is not working, please provide the new pattern.
      Reply Reply  
    14. September 26, 2017 2:25 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I never use the option of 1 occurrence. I do not select any option but only enter the search text and the replace text.

      I am encountering the same again. This time I search for:
      [IMGL=white]

      Replace with:
      [FLOAT_LEFT][IMG]

      After completing the search I clear page cache and go to Amyl_Nitrite?do=edit
      Its still there in various places.
      I repeat the action, but there is no change. There cannot be a difference between the search text and the code in the article because I copied it from there.

      It seems to me that either there is a bug or there is a cache issue.
      Reply Reply  
    15. September 26, 2017 5:38 PM
      pegasus pegasus is offline
      VaultWiki Team
      This should be fixed on your site now, and will be fixed in the next release.

      This was caused by a similar but different issue after the patch, but it did not result in unwanted data loss. When multiple content types had the same content ID number and the content in both content-types met the search criteria, only the last-found content-type with that ID (usually a synonym) was affected by the replacement. This resulted in up to 200 pages on your wiki not being affected by replacements. Now it looks like the bug that we patched in PL 1 may have originally been an attempt to fix this issue, but ended up creating an ID mismatch bug instead.
      Reply Reply  
    Page 1 of 2 12 Next LastLast
    + 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 12:31 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.