[Fixed] Zipped static resources placed in wrong directory

The Welkin Suite Forum

[Fixed] Zipped static resources placed in wrong directory



[Fixed] Zipped static resources placed in wrong directory

  • Please log in to reply

#1

ron.planken

    Posted 17 Apr 2015

    A bug report regarding the editing of resources that are located in a zip file. When you edit a file inside a zipfile and send the build to SalesForce, it zip's the files and uploads the resource. Somehow in the latest version (16.2.4) it will zip the root folder as well, causing the folder order to be wrong.


    Original file, named ic.zip:


    Zipfile -> css (folder)   -> files

                   js (folder)      -> files

                   fonts (folder) -> files


    When uploading with the latest version the following happens:


    Zipfile -> Resources (folder) -> ic (folder) ->  css (folder)   -> files

                                                                           js (folder)      -> files

                                                                           fonts (folder) -> files


    It seems to be taking the root folders from the project folder in regard to path name while uploading.


    [attachment=15:Schermafdruk 2015-04-17 11.57.19.png]

    In this picture Left is the original file, Right is the file uploaded by Welkin Suite 16.2.4


    [Edit]

    It seems that after deleting the old project and pulling a fresh one, you get a "stacking" directory, it places the all of the files in another level of Resources/ic folders. So it gets deeper and deeper!



    2 replies to this topic

    #2

    vlgubanovich

      Posted 20 Apr 2015

      Hi Ron,


      Thanks for this report. Team is working currently on this fix and it will be released in coming days - Tuesday evening latest.


      Thank,

      Vladimir


      Vladimir Gubanovich
      Head of Product
       
      The Welkin Suite
      skype id: vladimir.gubanovich
      e-mail: vladimir.gubanovich@welkinsuite.com


      #3

      vlgubanovich

        Posted 21 Apr 2015

        Hi Ron,


        This is a very rare case caused by your folder's name - "ic", it was also reproduced on folders with "tic", "atic", "tatic", "Static" names. We've fixed the issue and released version 0.16.3.4.


        Anyway you'll need to fix Static Resource structure manually...


        Please let me know if everything works good for you.


        Thanks,

        Vladimir


        Vladimir Gubanovich
        Head of Product
         
        The Welkin Suite
        skype id: vladimir.gubanovich
        e-mail: vladimir.gubanovich@welkinsuite.com


        Boost Your Productivity. Get Started Today

        Try Free Trial