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

View Revisions: Issue #27857 All Revisions ] Back to Issue ]
Summary 0027857: Resource could not be booked if the unavailability is saved from a client in a different time zone than the server
Revision 2014-12-24 13:33 by ngarcia
Steps To Reproduce As group admin role:
   Access the instance from a timezone different from the server timezone
   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 with an unavailability that when saving in the server it will take two days. Example:
      Server Timezone: GMT+2 (Madrid)
      Client Timezone: GMT+4 (Moscow)
      Start Time: 0:00:01 (saved as 22:00:01 in the server)
      End Time: 4:00:00 (saved as 2:00:00 in the server)
   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 a resource in the widget and try to book it
   Check the Resource combo box is empty and the following error message is shown in the log:
      ERROR org.openbravo.module.resources.calendar.ResourcesCalendarActionHandler - java.util.GregorianCalendar cannot be cast to java.sql.Timestamp
Revision 2014-12-12 14:42 by ngarcia
Steps To Reproduce As group admin role:
   Access the instance from a timezone different from the server timezone
   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 with an unavailability that when saving in the server it will take two days. Example:
      Server Timezone: GMT+2 (Madrid)
      Client Timezone: GMT+4 (Moscow)
      Start Time: 0:00:01 (saved as 22:00:01 in the server)
      End Time: 4:00:00 (saved as 2:00:00 in the server)
   Create a Resource Bookable by All Users and assign that reservation calendar
   Create a User assign a Business partner to it and assign the Member Portal User role to it
   Add the Resource and Reservation widget to the workspace
   Login with that user
   Select a resource in the widget and try to book it
   Check the Resource combo box is empty and the following error message is shown in the log:
      ERROR org.openbravo.module.resources.calendar.ResourcesCalendarActionHandler - java.util.GregorianCalendar cannot be cast to java.sql.Timestamp


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker