omda12 / akelosframework

Automatically exported from code.google.com/p/akelosframework
GNU Lesser General Public License v2.1
0 stars 0 forks source link

\PATCH script/generate is broken #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. configure a blank application from the svn
2. execute php script/generate ThisIsATest action1 action2 action3

What is the expected output? What do you see instead?
The list of the created files must be printed but the only thing I have in
return from this command is a blank line.

What version of the product are you using? On what operating system?
SVN version, on Windows Vista using WAMP 1.6.6, php 5.2.0

Please provide any additional information below.
After searching the problem, I found that it was an error when compiling
the template in "script/generators/controller/template/controller.tpl" by
executing "php script/generators/controller/templates/controller.tpl". The
output was 

Parse error: parse error, unexpected $end in
D:\dev\tests\akelos\script\generators\controller\templates\controller.tpl
on line 18

instead of 
<?php

class Controller extends ApplicationController
{

Warning: Invalid argument supplied for foreach() in
D:\dev\tests\akelos\script\generators\controller\templates\controller.tpl
on line 9
}

?>

(the foreach warning is normal as no variables are passed to the script)

I hope this was the right to correct this bug.

Original issue reported on code.google.com by jerome.l...@gmail.com on 7 Apr 2007 at 1:23

Attachments:

GoogleCodeExporter commented 9 years ago
This patch is also included in the patch associated with the issue #33
(http://code.google.com/p/akelosframework/issues/detail?id=33&can=2&q=). The 
issue
#33 corrects the short tags problems (replacing all <? to <?php)

Original comment by jerome.l...@gmail.com on 7 Apr 2007 at 5:42

GoogleCodeExporter commented 9 years ago
Duplicated issue. See #33

Original comment by bermifer...@gmail.com on 9 Apr 2007 at 1:16