Ticket #236 (new defect)
instantiate uses isDefined when not necessary?
| Reported by: | scorfield | Owned by: | sean@… |
|---|---|---|---|
| Type: | defect | Priority: | normal |
| Milestone: | Fusebox 5.6 | Component: | Extensions: Lexicons/Plugins |
| Version: | Severity: | normal | |
| Keywords: | Cc: |
Description
Reported on the forums:
This code fails:
<instantiate class="contacts" object="myFusebox.getApplication().getApplicationData().Contacts" arguments="globals.datasource" />
<invoke object="myFusebox.getApplication().getApplicationData().Contacts" methodcall="addtocontact(attributes)" returnvariable="myvar" />
It causes isDefined() to be called on the dotted-name which is illegal.
Actually I suspect this is only true of similar code that uses overwrite="false". Still, it would be nice to be able to store objects / results to such an expression.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
