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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033122
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2016-06-02 18:162016-06-02 18:16
ReportershuehnerView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033122: OrderLoader has special code targeting MP13, MP14 of ERP, which should no longer be required today.

DescriptionOrderLoader.java has code to at runtime check presence of a core field to make it work with newer core having this mandatory field but without requiring this new core version.
        if (ModelProvider.getInstance().getEntity(FIN_PaymentSchedule.class)
            .hasProperty("origDueDate")) {
          // This property is checked and set this way to force compatibility with both MP13, MP14
          // and
          // later releases of Openbravo. This property is mandatory and must be set. Check issue
          paymentSchedule.set("origDueDate", paymentSchedule.getDueDate());
        }

However from the comment that seems to be very old and should no longer be required today.

Dependency of webpos should be checked and if it requires new enough core to be sure that this field exists this dynamic code should be replaced by simple. setOrigDueDate

Note: There are 2 instances of this in OrderLoader
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-06-02 18:16 shuehner New Issue
2016-06-02 18:16 shuehner Assigned To => Retail
2016-06-02 18:16 shuehner Triggers an Emergency Pack => No


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker