• 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
    • error vw_invalid_type

    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: error vw_invalid_type

    • Issue Tools
      • View Changes
    1. issueid=4831 December 3, 2016 3:00 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      error vw_invalid_type

      After uploading an jpg image I am getting the above error. jpg is a valid attachment type in both xenforo attachment settings as vw attachment settings.
    Issue Details
    Issue Number 4831
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.15
    Fixed Version 4.0.16
    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. December 4, 2016 11:53 AM
      pegasus pegasus is offline
      VaultWiki Team
      vw_invalid_type occurs when attempting to create any kind of wiki content that is disabled in AdminCP > Wiki > Structures > Content Types. If a create link is appearing while the content type is disabled, this is a bug. Please let me know where you found the link.
      Reply Reply
    2. December 4, 2016 12:18 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Here is how to replicate:
      go to wiki testing grounds > browser compatibility > edit
      at the end upload a JPEG 'something'. So far it works as the following text is displayed in the article text:
      testing JPEG upload here:
      [file]something|none[/file]

      Then save the edit.
      Then the aforementioned error is displayed.

      You can find the image here: wiki attachments > something
      Reply Reply
    3. December 4, 2016 1:43 PM
      pegasus pegasus is offline
      VaultWiki Team
      This has nothing to do with the attachments. Rather, the page has the behavior "Anonymous Page". However, the content-type "Anonymous Page" is currently disabled in the AdminCP. As a result, the wiki is refusing to apply changes to the page because its content-type is not allowed.

      Normally, existing behaviors that are currently disabled in the AdminCP will appear in the behaviors section of the editor so that the behavior can be removed:
      - In that case, if you were to apply an edit to the Anonymous Page, then it would no longer be treated as Anonymous, its URL would change, and a conflict might require the page to be renamed.
      - I believe this should be made more obvious, perhaps with a red notice that the behavior must be removed, and obviously the vw_invalid_type error must be phrased "The page cannot be saved until unsupported behaviors are removed."

      However, the problem with this is that your Wiki Testing Grounds area ONLY allows Anonymous Pages -- normal pages are not allowed. So that is why the option to remove the behavior is not provided in the editor -- even if the Anonymous behavior was removed, the edit would still be refused, because the conversion to a normal page is not allowed in Wiki Testing Grounds.

      Thus you are in a situation where it is impossible to create anything new or edit anything existing in Wiki Testing Grounds. So the correct behavior would actually be to have no permission to access the Edit tab in this case.

      Therefore in order to mark this bug as fixed, the following must be resolved:
      - In the editor, make it obvious that an existing behavior is no longer permitted and must be removed.
      - Phrase vw_invalid_type
      - Remove Edit tab permissions when the area only allows content-types that are all disabled
      Reply Reply
    4. December 4, 2016 5:02 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      The thing is. I dont even know what an anonymous page is supposed to do. I did not have any anonymous pages created. I think this is an import issue. I think there should not have been any anonymous pages.

      I turned off anonymous pages globally so there should not be any anonymous pages.
      Reply Reply
    5. December 4, 2016 5:07 PM
      pegasus pegasus is offline
      VaultWiki Team
      Anonymous pages were "Islands" in VaultWiki 3. If you had a wiki forum in Island mode, then it was imported as only allowing Anonymous Pages. Since you actually use Anonymous Pages, you should not disable them. According to the AdminCP:
      The URLs for Anonymous pages don't include the page's title. In general, they do not interact with other wiki pages and cannot be linked to without knowing the page's full URL. Since wiki pages cannot usually share titles, this is useful if you want to use wiki functionality for a page but don't want to use up that title.
      Reply Reply
    6. December 4, 2016 5:15 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Why are these not just called Islands like before? I don't understand what is anonymous about these pages, because its clear which members edited the page.
      I turned it off because I dont want any anonymous edits on my site.
      Reply Reply
    7. December 4, 2016 5:20 PM
      pegasus pegasus is offline
      VaultWiki Team
      The term has nothing to do with the people who edit it. The page itself is Anonymous. Unlike regular wiki pages, its name is unimportant.
      We scrapped the "Island" term because most people did not understand it.

      VaultWiki does not permit anonymous edits. Even guests must provide a username will have their IP logged if the admin has allowed guest edits.
      Reply Reply
    8. December 4, 2016 5:30 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I see. I think the concept in general is hard to understand. If anonymous pages do the same as island pages then I think the name is very confusing. But now I know one more Vaultwiki mystery its not a problem for me anymore. I do find vaultwiki 4 really hard to use now and then.
      Reply Reply
    9. December 6, 2016 5:50 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release.

      Now, when editing a page that has a type which must be removed:
      - Section editing of that page is disabled.
      - Only users with permission to remove types (requires delete permissions) are allowed to edit.
      - The type has a red notice below it telling the user they must remove the type in order to save anything.

      When the type must be removed but the area doesn't allow any types that would be used instead, no one has permission to edit the page.

      The phrase vw_invalid_type, which has now been phrased, should now be rarely seen - only when manually editing the form HTML, or if editing at the same time the admin is disabling the type.

      Additionally, root-level types (such as the main page of a social group in vBulletin) will no longer be considered for the vw_invalid_type error, because root-level types cannot be removed from a page; more like being a page is a property of those types, rather than the reverse.

      Types that were added by assignment (such as 'chapter' by adding it to a book) will no longer be considered for the vw_invalid_type error, because there is no mechanism on the edit tab to remove those kinds of types.
      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 4:53 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.