Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.13

Bug #3946 flexy:raw invalid compile result
Submitted: 2005-03-24 19:14 UTC
From: zx2001 at mail dot ru Assigned: alan_k
Status: Closed Package: HTML_Template_Flexy
PHP Version: 4.3.10 OS: WINXP
Roadmaps: (Not assigned)    
Subscription  


 [2005-03-24 19:14 UTC] zx2001 at mail dot ru
Description: ------------ <input type="checkbox" name="useTextarea" flexy:raw="{person.useTextarea():checked}"> compiled to: <input type="checkbox" name="useTextarea" <?php if ($this->options['strict'] || (isset($t->person) && method_exists($t->person,'useTextarea'))) echo $this->plugin("c",$t->person->useTextarea());?>> (note $this->plugin("c"...) => "c" instead of "checked") <input type="checkbox" name="useTextarea" flexy:raw="{person.useTextarea:checked}"> and {person.useTextarea():checked} compiled properly. Reproduce code: --------------- <input type="checkbox" name="useTextarea" flexy:raw="{person.useTextarea():checked}"> Expected result: ---------------- <input type="checkbox" name="useTextarea" <?php if ($this->options['strict'] || (isset($t->person) && method_exists($t->person,'useTextarea'))) echo $this->plugin("checked",$t->person->useTextarea());?>> Actual result: -------------- <input type="checkbox" name="useTextarea" <?php if ($this->options['strict'] || (isset($t->person) && method_exists($t->person,'useTextarea'))) echo $this->plugin("c",$t->person->useTextarea());?>>

Comments

 [2005-05-12 04:42 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-05-12 08:09 UTC] zx2001 at mail dot ru
This happens using default compiler, i.e. Flexy.
 [2005-05-14 04:18 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!