Bug #6003

ObjectAccessorNode::evaluate calls ObjectAccessor even if variable is not an object or array

Added by Robert Lemke over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-01-13
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Core
Target version:1.0.0 alpha 7
Has patch: Affected Flow version:

Description

ObjectAccessorNode::evaluate calls ObjectAccessor even if variable is not an object or array.

Associated revisions

Revision 60975395
Added by Robert Lemke over 5 years ago

[+BUGFIX] Fluid (Core): Added safeguard in ObjectAccessorNode::evaluate which checks for object or array before passing a variable to ObjectAccess::getPropertyPath(). Resolves #6003
[~TASK] Fluid (View): TemplateView::expandGenericPathPattern() now uses the proper API functions of the Request object to determine package keys and controller name instead trying to parse them from the controller object name. Relates to #5998

History

#1 Updated by Robert Lemke over 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3612.

Also available in: Atom PDF