View Issue Details

IDProjectCategoryView StatusLast Update
84WADFCorepublic17 Oct 2008 12:49
Reportermrosenquist Assigned Totimj  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.0Fixed in Version0.9.0 
Summary84: Non-fatal error when setting read-only for template files removed via post_deploy_cleanup_files
DescriptionWadf generates an none fatale error when it tries to set read-only for removed templated files
TagsNo tags attached.
Attached Files
WADF.php.b84.patch (469 bytes)   
--- WADF.php.orig	2008-09-01 09:49:54.000000000 +0100
+++ WADF.php	2008-09-01 11:19:01.000000000 +0100
@@ -1272,7 +1272,7 @@
 			$content = file_get_contents($file);
 			$content = $this->resolveString($content, null, "file:$file");
 			$output_file = preg_replace('/^(.+)\.template$/','\1',$file);
-			exec("chmod +w $output_file");
+			exec("chmod +w $output_file 2>&1");
 			$fout_fh = fopen($output_file, 'w+');
 			fputs($fout_fh, $content);
 			fclose($fout_fh);
WADF.php.b84.patch (469 bytes)   

Activities

mrosenquist

1 Sep 2008 11:22

reporter   ~95

Last edited: 1 Sep 2008 11:22

Fix in patch

Issue History

Date Modified Username Field Change
1 Sep 2008 11:17 mrosenquist New Issue
1 Sep 2008 11:22 mrosenquist File Added: WADF.php.b84.patch
1 Sep 2008 11:22 mrosenquist Note Added: 95
1 Sep 2008 11:22 mrosenquist Note Edited: 95
1 Sep 2008 13:16 timj Target Version => 0.9.0
1 Sep 2008 13:16 timj Status new => assigned
1 Sep 2008 13:16 timj Assigned To => timj
1 Sep 2008 13:42 timj Status assigned => resolved
1 Sep 2008 13:42 timj Resolution open => fixed
1 Sep 2008 13:42 timj Fixed in Version => 0.9.0
1 Sep 2008 13:42 timj Summary Wadf generates an none fatale error when it tries to set read-only for removed templated files => Non-fatal error when setting read-only for template files removed via post_deploy_cleanup_files
17 Oct 2008 12:49 timj Status resolved => closed