Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021932Openbravo ERPA. Platformpublic2012-10-15 10:242012-10-31 13:31
jonalegriaesarte 
shankarb 
highmajoralways
closedfixed 
5
pi 
3.0MP173.0MP17 
AugustoMauch
Core
No
0021932: Google calendar widget is not loaded
Google calendar widget is no loaded
- Access to https://livebuilds.openbravo.com/int-full-pgsql/ [^]
- The google docs widget appears with the data related to the google account that the user is logged in
- The google calendar widget does not show information
No tags attached.
Issue History
2012-10-15 10:24jonalegriaesarteNew Issue
2012-10-15 10:24jonalegriaesarteAssigned To => AugustoMauch
2012-10-15 10:24jonalegriaesarteModules => Core
2012-10-16 15:57AugustoMauchAssigned ToAugustoMauch => shankarb
2012-10-16 16:25shankarbNote Added: 0053375
2012-10-30 10:26shankarbReview Assigned To => dbaz
2012-10-30 10:26shankarbStatusnew => scheduled
2012-10-30 10:26shankarbfix_in_branch => pi
2012-10-30 10:27shankarbIssue Monitored: dbaz
2012-10-30 10:28hgbotCheckin
2012-10-30 10:28hgbotNote Added: 0053792
2012-10-30 10:28hgbotStatusscheduled => resolved
2012-10-30 10:28hgbotResolutionopen => fixed
2012-10-30 10:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/264d442f2b4eca8ecdb720826cc4fe7dd9e33f30 [^]
2012-10-30 11:44dbazNote Added: 0053800
2012-10-30 11:44dbazStatusresolved => new
2012-10-30 11:44dbazResolutionfixed => open
2012-10-30 11:44dbazReview Assigned Todbaz => AugustoMauch
2012-10-30 11:44dbazfix_in_branchpi =>
2012-10-30 12:47AugustoMauchNote Added: 0053811
2012-10-30 12:47AugustoMauchStatusnew => scheduled
2012-10-30 12:47AugustoMauchfix_in_branch => pi
2012-10-30 12:47AugustoMauchStatusscheduled => resolved
2012-10-30 12:47AugustoMauchResolutionopen => fixed
2012-10-30 12:48AugustoMauchNote Added: 0053812
2012-10-30 12:48AugustoMauchStatusresolved => closed
2012-10-30 12:48AugustoMauchFixed in Version => 3.0MP17
2012-10-31 13:31hudsonbotCheckin
2012-10-31 13:31hudsonbotNote Added: 0053936

Notes
(0053375)
shankarb   
2012-10-16 16:25   
The Calendar is getting loaded in the widget. But on inspecting the element, the display style of the body is set to none. When loading the widgets, the first response for the URL is a blank request with the display style none. But then 2 more GET request are done and the result is available.

I think, the html flow element does not render the html code subsequently after getting the initial response for future results. This issue could be because of a change in the Google calendar API.
(0053792)
hgbot   
2012-10-30 10:28   
Repository: erp/devel/pi
Changeset: 264d442f2b4eca8ecdb720826cc4fe7dd9e33f30
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Oct 30 10:22:50 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/264d442f2b4eca8ecdb720826cc4fe7dd9e33f30 [^]

Fixes Issue 0021932: Google calendar widget is not loaded

The Default URL that was in use does not work due to the API Changes in Google Calendar. So now retrieved the user email from OB.User object and displayed the calendar using the same.

---
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-url-widget.js
M modules/org.openbravo.client.widgets/src-db/database/sourcedata/OBKMO_WIDGET_URL.xml
---
(0053800)
dbaz   
2012-10-30 11:44   
It still doesn't work
(0053811)
AugustoMauch   
2012-10-30 12:47   
New steps to reproduce:
- Add a valid gmail account (i.e. an Openbravo email account) to the Openbravo user in the User window.
- Log out, and log in so the new user email account is loaded in the client.
- The widget will show the calendar that corresponds with the loaded email account.
(0053812)
AugustoMauch   
2012-10-30 12:48   
Code reviewed and verified in pi@2c82168e2836
(0053936)
hudsonbot   
2012-10-31 13:31   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9e773cbcb723 [^]

Maturity status: Test