Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #33136 All Revisions ] Back to Issue ]
Summary 0033136: Useless read from c_bpartner_location in Orderloader -> should use Proxy instead
Revision 2016-06-05 14:34 by shuehner
Description OrderLoader.java in its createOrder method uses following code:

    order.setPartnerAddress(OBDal.getInstance().get(Location.class,
        jsonorder.getJSONObject("bp").getString("locId")));

Reading from c_bp_location here is not required a Proxy should be used instead to pass on the id.

2nd case of same bug later in createShipment function:
    shipment.setPartnerAddress(OBDal.getInstance().get(Location.class,
        jsonorder.getJSONObject("bp").getString("locId")));
Revision 2016-06-05 13:53 by shuehner
Description OrderLoader.java in its createOrder method uses following code:

    order.setPartnerAddress(OBDal.getInstance().get(Location.class,
        jsonorder.getJSONObject("bp").getString("locId")));

Reading from c_bp_location here is not required a Proxy should be used instead to pass on the id.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker