saulhoward / haddock-cms

Automatically exported from code.google.com/p/haddock-cms
0 stars 0 forks source link

Project information setting script does not work for new projects #76

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. You want to set the project meta-information for a new project.
2. You run HaddockProjectOrganisation_SetProjectInformationCLIScript.
3. The script complains that it can't fopen the file for the information.

What is the expected output? What do you see instead?

The script fails because it cannot create a file in a directory that does
not exists. The script should create the relevant directories first.

Also, the setting functions in
HaddockProjectOrganisation_ProjectInformationHelper should throw exceptions
if they cannot set the data.

Original issue reported on code.google.com by robert.i...@gmail.com on 19 Dec 2008 at 12:42

GoogleCodeExporter commented 8 years ago
This issue cannot be repeated on a Linux machine.

Is the issue to do with FileSystem_DirectoryHelper::mkdir_parents() on Windows?

Original comment by robert.i...@gmail.com on 19 Dec 2008 at 3:21

GoogleCodeExporter commented 8 years ago
This is to do with 

FileSystem_DirectoryHelper::mkdir_parents()

See:
http://code.google.com/p/haddock-cms/issues/detail?id=82

The code in that function has been updated and should be tested on various 
platforms.

Original comment by robert.i...@gmail.com on 22 Dec 2008 at 4:10