[furcas-discussion] Bug in DelayedReferencesHelper.setDelayedReferenceWithPredicate

Uhl, Axel axel.uhl at sap.com
Wed Feb 16 23:12:21 CET 2011


Hi,

I found a bug that I need to fix urgently. When there is more than one element resulting from the foreach expression, and the parser runs with TextBlocks creation (which is not the case for the barebones tests), only one target element will reside in the feature to be filled by the foreach predicate. The problem is an erroneous nesting of the textblocks / elements re-use strategy inside the loop over the foreach evaluation results.

My strategy which I hopefully get implemented tomorrow is to first compute the replacement elements and then, in one go, update the feature and the textblocks information at once.

Until then don't expect foreach to work for more than one foreach result when textblocks creation is active in the parser.

Best,
-- Axel


More information about the Furcas-discussion mailing list