On 05/16/2012 11:05 AM, Adam Heath wrote: > On 05/16/2012 06:41 AM, Jacopo Cappellato wrote: >> https://demo-trunk.ofbiz.apache.org/ordermgr/control/orderview?orderId=Demo1002 > > This may be a stupid question, but why doesn't "admin/ofbiz" work as a > login? (right now, the admin account is disabled for 5 minutes, > that's my fault). > > I can't yet see this error. I'm updating to trunk, and will attempt > the same thing locally.
Is freemarker really this stupid? Really? That line is: shipmentRouteSegments=delegator.findByAnd("ShipmentRouteSegment", {"shipmentId" : shipment.shipmentId}, null, false) [on line 581, column 25 in component://order/webapp/ordermgr/order/ordershippinginfo.ftl] And there *is* a findByAnd in Delegator that has (String, Map, List, boolean). Why is thinking that findByAnd(String, Object...) is the correct one to use? I'm leaning towards this being a freemarker bug. If one other person agrees with me, then I'll attempt to simulate it as a real freemark bug(new freemarker template, new object that implements similiar interfaces, isolated from any/all ofbiz code), to make reporting a freemark bug simpler. And then fix freemarker myself.