• 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
    • XF AutoValidator class not used

    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: XF AutoValidator class not used

    • Issue Tools
      • View Changes
    1. issueid=4169 February 3, 2015 4:19 AM
      boldplan boldplan is offline
      New Member
      XF AutoValidator class not used
      Inserted images disappear

      Using the very latest version. I inserted a URL for an image in my images folder to be included in the category page in the Wiki. I saw the image appear after insertion and clicked Save. The IMG tag and image disappeared. I tried again using the preview and saw it in the preview. I clicked save. That worked but not without using a preview button.
    Issue Details
    Issue Number 4169
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Images / Icons
    Status Forum Bug
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.1
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. February 3, 2015 11:51 AM
      pegasus pegasus is offline
      VaultWiki Team
      It seems that there is a bug in XenForo. If a form is not marked with the "AutoValidator" class, then if the last editor action was to insert an image via the editor button, it doesn't actually update the "real" editor contents. You must actually type something else after that to get the editor to consider itself "updated".

      On the other hand if the form is marked with "AutoValidator", the act of validating (which would occur when you click the submit button, but before it submits) triggers an editor-contents update anyway, which is why it seems to work normally in most other XenForo content. VaultWiki does not support the auto-validation feature at this time.

      I have confirmed this behavior by looking at the POST data that is actually sent to VaultWiki with and without the "AutoValidator" class applied to the form. Without the "AutoValidator" class, the form sends it as if there was no change to the editor content. VaultWiki doesn't really have control over what the editor claims it has (the editor is made by Redactor, with some functionality added by XenForo). On the other hand, including the "AutoValidator" class, the form sends the expected content of the editor, but VaultWiki doesn't support auto-validation, so it returns an "unspecified error" instead of saving.

      Unless XenForo devs get to this first, the only way to "fix" this in VaultWiki is to make all our forms support the AutoValidator. This is a relatively big change and wouldn't be ready until a new release. In the mean time, images added via the editor button (rather than entered manually), will work in these cases:

      1. Insert Image.
      2. Pick one:
        • Type/un-type some text.
        • Click "Use BB-Code Editor".
      3. Submit.
      4. The image should be saved.
      Reply Reply  
    2. February 11, 2015 9:37 AM
      pegasus pegasus is offline
      VaultWiki Team
      This should be fixed in the next release of XenForo. However, I will leave this issue open since VaultWiki should have at least some AutoValidator functionality to make it feel more tightly integrated.
      Reply Reply  
    3. June 21, 2018 1:45 PM
      pegasus pegasus is offline
      VaultWiki Team
      AutoValidator support moved to feature request: https://www.vaultwiki.org/issues/5281/
      Closed as Forum Bug.
      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:44 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.