Creating a new file does not create appropriate folders. #178


  • New
  • Defect
Open
Assigned to _ForgeUser8860360
  • Gamebuster19901 created this issue Sep 19, 2015

    Brief error description

    When creating a new file, if the path specified doesn't exist, it doesn't create the path.

    What causes this error? Please paste the exact line you used

    create new file "plugins/PathDoesntExistYet/AnotherPath/MyAwesome.fileExtension"
    

    What happens is because the folders "PathDoesn'tExistYet" and "AnotherPath" don't exist, it throws a "System cannot find the path specified" error instead of creating the folders.

    Please use Pastebin.com and paste the error you get, then paste the URL here

    http://pastebin.com/cr38qPHB

    What server version are you using? Latest is not an answer! Use /ver and tell me

    CraftBukkit version git-Spigot-0359393-9a17f01 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)

    What Umbaska version are you using? If you're using a BETA version please paste the ID

    Umbaska v1.5.1.6

  • Gamebuster19901 added the tags New Defect Sep 19, 2015
  • _ForgeUser8860360 posted a comment Sep 21, 2015

    Why should it. It assumes your folders exist.

  • Gamebuster19901 posted a comment Sep 23, 2015

    @Nfell2009: Go Because there are no ways to create folders in umbaska, so you can't create your own folders for your skripts. This also means that someone who downloads a skript and they don't have that directory, it will throw a path not found error.


    Edited Sep 23, 2015
  • _ForgeUser8960599 posted a comment Oct 14, 2015

    <<reply 2653718>>

    You should check if the folder exists. If not you should create it. All Umbaska.


To post a comment, please login or register a new account.