lib/openwfe/expressions/flowexpression.rb in openwferu-0.9.10.653 vs lib/openwfe/expressions/flowexpression.rb in openwferu-0.9.11
- old
+ new
@@ -160,11 +160,11 @@
# themselves as soon as their state changed.
# Else this information would be lost at engine restart or
# simply if the expression got swapped out of memory and reloaded later.
#
def store_itself
- ldebug { "store_itself() for #{@fei.to_debug_s}" }
+ #ldebug { "store_itself() for #{@fei.to_debug_s}" }
#ldebug { "store_itself() \n#{OpenWFE::caller_to_s(0, 6)}" }
get_expression_pool.update self
end
#
@@ -497,9 +497,12 @@
text = ""
children.each do |child|
if child.kind_of?(RawExpression)
text << child.fei.to_s
+ elsif child.kind_of?(FlowExpressionId)
+ text << get_expression_pool\
+ .fetch_expression(child).raw_representation.to_s
else
text << child.to_s
end
end