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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029638
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2015-04-20 17:282015-05-26 09:35
ReportercaristuView Statuspublic 
Assigned ToNaroaIriarte 
PriorityhighResolutionfixedFixed in Version3.0PR15Q3
StatusclosedFix in branchFixed in SCM revision2703e8a7e32a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029638: Google Calendar widget is not working

DescriptionThe Google Calendar widget is not working, it appears blank after adding it into the workspace. The following error appears in the console: Refused to display 'https://www.google.com/calendar/embed?src=account' [^] in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Steps To Reproduce1) Add the Google Calendar into the workspace
2) Notice that the widget content appears blank

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0030582 closedplatform Google docs & calendar widgets are not working by default 
related to design defect 0030001 acknowledgedTriage Platform Base The google calendar widget should be handled by another class which extends from the class "ob-url-widget". 

-  Notes
(0077617)
NaroaIriarte (developer)
2015-05-21 11:04

It is possible to load the google calendar:

1) As system admin, go to the user window and set the "email" field. Fill it with your google account.
2) Open your google account in the browser.
3) Add the Google Calendar into the workspace.
4) It is not shown, it appears blank.
5) Refresh the workspace.
6) Google calendar is loaded.
 
(0077657)
hgbot (developer)
2015-05-22 11:23

Repository: erp/devel/pi
Changeset: 2703e8a7e32acf90f9cb382db1fe09f311b3757d
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Fri May 22 11:18:49 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2703e8a7e32acf90f9cb382db1fe09f311b3757d [^]

Fixed issue 29638: Google Calendar widget is not working properly.

In the workspace, adding a google calendar windget was not working properly. It
appeared blank.

It is necessary to set the field "email" of the user, in the user window, for being able
to show the asociated calendar in the widget. It is also necessary to be logged in the same
google account in the same browser for being able to display the calendar.

The problem was that it was not correctly displayed at first and it was necessary to refresh
the workspace for making the Google Calendar work properly.
This was because the email of the user was not correctly set.

The "evaluateContents" function has been overwritten in then "ob-url-widget.js" for granting
its correct behavior.

---
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-url-widget.js
---
(0077718)
hudsonbot (developer)
2015-05-25 18:01

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/8cc85f698754 [^]
Maturity status: Test
(0077731)
alostale (manager)
2015-05-26 09:35

Code reviewed

Tested
-Having email correctly set in the logged user it works properly
-If email is not configured, blank widget still appears, this should be fixed by refactoring the widget as reported in 0030001

- Issue History
Date Modified Username Field Change
2015-04-20 17:28 caristu New Issue
2015-04-20 17:28 caristu Assigned To => platform
2015-04-20 17:28 caristu Modules => Core
2015-04-20 17:28 caristu Regression date => 2015-05-22
2015-04-20 17:28 caristu Triggers an Emergency Pack => No
2015-04-20 17:28 caristu Issue Monitored: networkb
2015-04-21 15:30 alostale Status new => acknowledged
2015-04-27 13:16 jonalegriaesarte Resolution time => 1432245600
2015-04-27 13:16 jonalegriaesarte Regression date 2015-05-22 =>
2015-05-14 12:15 alostale Status acknowledged => scheduled
2015-05-14 12:15 alostale Assigned To platform => inigosanchez
2015-05-20 16:15 alostale Assigned To inigosanchez => NaroaIriarte
2015-05-21 11:04 NaroaIriarte Note Added: 0077617
2015-05-21 11:04 NaroaIriarte Steps to Reproduce Updated View Revisions
2015-05-22 10:39 NaroaIriarte Review Assigned To => alostale
2015-05-22 11:23 NaroaIriarte Issue Monitored: alostale
2015-05-22 11:23 hgbot Checkin
2015-05-22 11:23 hgbot Note Added: 0077657
2015-05-22 11:23 hgbot Status scheduled => resolved
2015-05-22 11:23 hgbot Resolution open => fixed
2015-05-22 11:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2703e8a7e32acf90f9cb382db1fe09f311b3757d [^]
2015-05-25 18:01 hudsonbot Checkin
2015-05-25 18:01 hudsonbot Note Added: 0077718
2015-05-26 09:27 alostale Relationship added related to 0030001
2015-05-26 09:35 alostale Note Added: 0077731
2015-05-26 09:35 alostale Status resolved => closed
2015-05-26 09:35 alostale Fixed in Version => 3.0PR15Q3
2015-08-26 10:51 caristu Relationship added has duplicate 0030582


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker