Ticket #332 (closed defect: fixed)

Opened 8 months ago

Last modified 5 months ago

Fusebox 5 Invoke Parsing Issue

Reported by: Zax Owned by: starkraving2002
Type: defect Priority: Normal
Milestone: Component: PHP Framework
Version: 5.0 Severity: normal
Keywords: Cc:

Description

In trying to use the invoke verb in a circuit using the code(the 5.0 syntax):

<invoke object="data_service" method="read" returnvariable="points">
  <argument value="point" />
</invoke>

An error is thrown:
Parse error: syntax error, unexpected ';', expecting T_STRING or T_VARIABLE or '{' or '$' in ...path to parsed file....

In the parsed file, the relevant line is:

$points = $data_service-> ;

When I revert back to the 4.1 syntax:

<invoke object="data_service" methodcall="read('point')" returnvariable="points" />

The correct invocation is produced in the parsed file:

$points = $data_service->read('point');

Attachments

Change History

Changed 5 months ago by starkraving2002

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.