• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 1.0.4, 1.1
    • 1.0
    • None
    • None

      Having a trailing slash in STASH_HOME prevents Stash from starting up.

            [BSERV-2520] Ignore trailing slash in home directory variable

            Tested on Win7 – works.

            Kostya Marchenko (Inactive) added a comment - Tested on Win7 – works.

            mwatson added a comment -

            mwatson added a comment - Related Stash KB Article: http://confluence.atlassian.com/display/STASHKB/Stash+Home+%5B%3CSTASH_HOME%3E%5D+cannot+be+created

            As part of this fix, Stash will now show a better error message if the home directory can not be created, or it already exists, but is not readable or writable by the user running Stash.
            Previously, it got the generic: 'The context could not loaded'

            Pierre-Etienne Poirot (Inactive) added a comment - - edited As part of this fix, Stash will now show a better error message if the home directory can not be created, or it already exists, but is not readable or writable by the user running Stash. Previously, it got the generic: 'The context could not loaded'

            Reproducible on Windows 7 with a backward slash:

            c:\my\path\
            

            Forward slash works without issues:

            c:\my\path/
            c:/my/path/
            

            Pierre-Etienne Poirot (Inactive) added a comment - - edited Reproducible on Windows 7 with a backward slash: c:\my\path\ Forward slash works without issues: c:\my\path/ c:/my/path/

            Not reproducible on MacOS. Testing on Window 7.

            Pierre-Etienne Poirot (Inactive) added a comment - - edited Not reproducible on MacOS. Testing on Window 7.

              kmarchenko Kostya Marchenko (Inactive)
              jens@atlassian.com jens
              Affected customers:
              0 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 0.05h
                  0.05h