#1401: Linebreak in surrounding autoload XML Tags raises an error on including
------------------------------------------+---------------------------------
Reporter: benjamin@… | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 1.0.7
Component: config | Version: 1.0.6
Severity: normal | Keywords:
Has_patch: 1 |
------------------------------------------+---------------------------------
Sourcecode format did add an linebreak in the config file, more precisely
in surrounding autoload tags, which resulted in an error on including the
class files, because the the path to the file becomes weird
''"/Users/benjamin/Workspaces/Projekte/Agavi/samples/app/
/Users/benjamin/Workspaces/Projekte/Agavi/samples/app/lib/user/AgaviSampleAppUser.class.php
"''.
For example this is not possible:
{{{
<autoload>
%core.app_dir%/lib/foo/Bar.class.php
</autoload>
}}}
The attached patch does a whitespace trim on the filepath value before the
config is exported.
--
Ticket URL: <http://trac.agavi.org/ticket/1401>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets