Ticket #3874 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

The default save directory is only added to the search path when it is changed

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Karl Palmen

Description

Currently, at start up, the default save directory is not appended to the datasearch.directories path.

This only happens when the value of the key changes. After this happens it is saved in the datasearch.directories and loaded in future but this is not true for a clean path.

To test:

  • Open the Mantid.user.properties file and temporarily comment out the datasearch.directories variable
  • Start MantidPlot
  • File->Manage User Directories
  • The default save path does not appear in the search list

Change History

comment:1 Changed 9 years ago by Martyn Gigg

  • Status changed from new to verify
  • Resolution set to fixed

In [14956]:

Ensure that the default save directory is on the path at startup to fix system tests. Fixes #3874

comment:2 Changed 9 years ago by Martyn Gigg

In [15028]:

Minor fix for the default save directory being appended to the data search path mutiple times when it does not contain a slash at the end. Refs #3874

comment:3 Changed 9 years ago by Karl Palmen

  • Status changed from verify to verifying
  • Tester set to Karl Palmen

comment:4 Changed 9 years ago by Karl Palmen

  • Status changed from verifying to closed

When carrying out the suggested test, I found two directories, as though the commenting out had no effect. I verified that it did have effect, by uncommenting out and adding another directory, which then appeared in the list.

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4721

Note: See TracTickets for help on using tickets.