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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031394
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Reservations moduleminoralways2015-11-06 13:542015-11-06 13:54
ReporterngarciaView Statuspublic 
Assigned ToTriage Omni OMS 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0031394: Cannot book a resource if the Freight Management module is installed

DescriptionCannot book a resource if the Freight Management module is installed
Steps To ReproduceAs group admin role:
   You can follow the steps in the documentation:
      http://wiki.openbravo.com/wiki/Resources_and_Reservations [^] [^] [^]
   Add the Local Timezone ID preference with the timezone of the client:
http://wiki.openbravo.com/wiki/Coworking:Preferences_for_Resources_and_reservations#Local_Timezone_ID [^] [^] [^]
   Create a reservation calendar
   Create a Resource Bookable by All Users and assign that reservation calendar
   Assign a product to the resource
   Create a User assign a Business partner to it and assign the Member Portal User role to it
   Add the Resource Reservation widget to the workspace
   Login with that user
   Select the resource in the widget and try to book it
   Check an error message is shown
   The logs shows:
java.lang.NullPointerException
    at org.openbravo.materialmgmt.freightmgmt.event.SalesOrderEventHandler.onGenericEvent(SalesOrderEventHandler.java:69)
    at org.openbravo.materialmgmt.freightmgmt.event.SalesOrderEventHandler.onNew(SalesOrderEventHandler.java:49)
Proposed SolutionAdd the following line in the createSalesOrderHeader of ReservationUtilities.java file:

order.setSalesTransaction(true);
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
2015-11-06 13:54 ngarcia New Issue
2015-11-06 13:54 ngarcia Assigned To => Triage Finance


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker