Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0031394 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Modules] Reservations module | minor | always | 2015-11-06 13:54 | 2015-11-06 13:54 | |||||||
Reporter | ngarcia | View Status | public | |||||||||
Assigned To | Triage Omni OMS | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM 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 | |||||||||||
Description | Cannot book a resource if the Freight Management module is installed | |||||||||||
Steps To Reproduce | As 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 Solution | Add the following line in the createSalesOrderHeader of ReservationUtilities.java file: order.setSalesTransaction(true); | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |