Fix circular placeholder prevention #42

Closed
wants to merge 1 commit into
from
Commits on Mar 3, 2012
  1. @sslavic

    Fix circular placeholder prevention

    sslavic committed Feb 18, 2012
    Set of resolved placeholder references is used for circular placeholder
    prevention. For complex property definitions this mechanism would put
    property values with unresolved inner placeholder references in the
    set, but would try to remove property values with placeholders
    resolved, leaving set in invalid state and mechanism broken.
    
    This fix makes sure value that is put in set is same one that is
    removed from it, and by this avoid false positives in reporting
    circular placeholder.
    
    Issue: SPR-5369