Bug #6003

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

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

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Core
Target version:
Start date:
2010-01-13
Due date:
% Done:

100%

Has patch:

Description

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

Associated revisions

Revision 60975395 (diff)
Added by Robert Lemke over 9 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 9 years ago

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

Applied in changeset r3612.

Also available in: Atom PDF