Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    339
    Vote Rating
    110
    firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light

      0  

    Default [FIXED] Export project fails silently if files read-only

    [FIXED] Export project fails silently if files read-only


    I see that the status bar now indicates a failure if the .xds file itself is read-only and you try to save the project. However, if, for example, the ui.js file is read-only, then Export Project still fails to write out the new file and the status bar indicates that the save was successful.

    Of course a preference option to silently overwrite read-only files in all cases would be my favorite option

  2. #2
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    Understood! Thanks.

    P.S. overwriting read-only files is impossible without first changing the attribute on the file. Not sure if we even want to go down that road, but certainly will consider it We don't want to hear anyone getting upset because they left that option toggled and their Source Control was no longer able to do its job...if you know what I mean.
    Last edited by jarrednicholls; 18 Mar 2011 at 8:06 AM. Reason: ps

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    339
    Vote Rating
    110
    firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light

      0  

    Default


    Sure, I can understand not wanting upset people if it saves and they didn't want it to.

    If this is a concern, maybe there could be a compromise where you just prompt for the ability on a case by case basis. We could get a dialog box to the effect that 'We couldn't save your changes because some files are read-only. Do you want to make these files writeable?'

  4. #4
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    Designer 1.1.2 ready for download: http://www.sencha.com/products/designer/download/

  5. #5
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    339
    Vote Rating
    110
    firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light firefoxSafari is a glorious beacon of light

      0  

    Default


    Sweet - I like the way this works now. Thanks for the quick response!

    Is there any chance of making a failed save of the project do the same thing - with the dialog as opposed to the status message?

    I know I had suggested perhaps making the files writeable, but if I at least have an in-you-face dialog telling me there was an error I can deal with it on my own. My concern with the status bar failure message is that it's too easy to miss and looks too much like what happens on a successful save (both being status bar messages) - I like what you did with the Export a lot better.

Similar Threads

  1. [FIXED] Export Project Fail to relative path
    By lombardo in forum Ext Designer: Bugs
    Replies: 7
    Last Post: 21 Mar 2011, 11:57 PM
  2. [FIXED] Export project: russia text bug
    By Sargulov in forum Ext Designer: Bugs
    Replies: 9
    Last Post: 18 Mar 2011, 4:53 AM
  3. [FIXED-153] Danish characters fails after export
    By dudek in forum Ext Designer: Bugs
    Replies: 4
    Last Post: 9 Jul 2010, 4:49 AM

Thread Participants: 1