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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026080
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Google Calendar integration for Resources and Reservationsminoralways2014-03-25 11:552014-04-25 08:31
ReportercaristuView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version1.0.1
StatusclosedFix in branchFixed in SCM revision126a906eb032
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tocaristu
Regression introduced in release
Summary

0026080: Synchronization fails after updating a reservation the second time

DescriptionSynchronization fails after updating the reservation start date the second time. The following error is raised in the log:

ERROR org.openbravo.integration.google.calendar.GoogleCalendarUtils - Error updating event in Google Calendar
com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
{
  "code" : 400,
  "errors" : [ {
    "domain" : "global",
    "message" : "Invalid sequence value.",
    "reason" : "invalid"
  } ],
  "message" : "Invalid sequence value."
}

Steps To Reproduce1) Create a new reservation, for example start date: 5:00 and end Date 8:00
2) Check in the [Google Integration] log that the synchronization is correct
3) Update the reservation, changing the start date to 6:00
4) Check in the [Google Integration] log that the synchronization is correct
5) Update the reservation, changing the start date to 7:00. The synchronization fails
Proposed SolutionSeems that a possible solution could be to increment the sequence number when updating events
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0066432)
hgbot (developer)
2014-04-15 12:40

Repository: erp/pmods/org.openbravo.module.resources.google.calendar
Changeset: 126a906eb032dc99f281f29dddb37058772a08ca
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Apr 15 12:37:34 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.resources.google.calendar/rev/126a906eb032dc99f281f29dddb37058772a08ca [^]

fixed bug 26080: Synchronization fails for 2nd reservation update

---
M src-db/database/model/modifiedTables/OBRE_RESERVATION.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/module/resources/google/calendar/ReservationGoogleEventObserver.java
---
(0066433)
alostale (manager)
2014-04-15 12:43

Published new version 1.0.1 fixing this issue: http://centralrepository.openbravo.com/heartbeat-server/org.openbravo.forge.ui/sso/ForgeModuleDetail/Google-Calendar-Integration-For-Resources-And-Reservations [^]
(0066591)
caristu (manager)
2014-04-25 08:31

Verified

- Issue History
Date Modified Username Field Change
2014-03-25 11:55 caristu New Issue
2014-03-25 11:55 caristu Assigned To => alostale
2014-03-25 11:55 caristu Resolution time => 1397944800
2014-03-25 11:55 caristu Issue Monitored: networkb
2014-03-25 11:58 caristu Summary Synchronization fails after updating the reservation the second time => Synchronization fails after updating a reservation the second time
2014-03-25 11:58 caristu Description Updated View Revisions
2014-03-31 16:56 caristu Description Updated View Revisions
2014-04-15 12:29 alostale Review Assigned To => caristu
2014-04-15 12:40 hgbot Checkin
2014-04-15 12:40 hgbot Note Added: 0066432
2014-04-15 12:40 hgbot Status new => resolved
2014-04-15 12:40 hgbot Resolution open => fixed
2014-04-15 12:40 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.resources.google.calendar/rev/126a906eb032dc99f281f29dddb37058772a08ca [^]
2014-04-15 12:43 alostale Note Added: 0066433
2014-04-25 08:31 caristu Note Added: 0066591
2014-04-25 08:31 caristu Status resolved => closed
2014-04-25 08:31 caristu Fixed in Version => 1.0.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker