[OFBiz] Users - odd freemarker bug with
EditProductInventoryItems.ftl
Si Chen
schen at graciousstyle.com
Thu Jan 20 21:00:40 EST 2005
Hi everyone -
Found an odd freemarker bug with EditProductInventoryItems.ftl. For
some items, I am getting:
Error: Expected hash. totalAvailableToPromise?string evaluated
instead to freemarker.core.BuiltIn$stringBI$BooleanFormatter on line 55,
column 82 in repository:pages:///product/EditProductInventoryItems.ftl.
which can be traced to a line that has
${totalAvailableToPromise?string.number}
It works fine as ${totalAvailableToPromise?string} or just
${totalAvailableToPromise}, and I don't see anything unusual about the
number (the number is 516.) What does the ".number" after "?string" do,
that it may be causing this bug?
Thanks,
Si
More information about the Users
mailing list