Zn2O / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

createDatabase() causes an Error. getPermission() must be called before, but is not yet implemented #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release: rev.973

Detailed description:
google.gears.factory.getPermission() is the way to test if the user granted
Gears permissions to the application. However, this is not implemented.
This means that Factory.createDatabase() (and possibly other) calls will
throw an uncaught JavaScriptError if the user denies Gears functionality on
a Gears-enabled browser.

Workaround if you have one:
Apply this patch to the com.google.gwt.gears.Factory class.

Links to the relevant GWT Developer Forum posts:
n/a

Original issue reported on code.google.com by sorinmoc...@google.com on 4 Nov 2008 at 12:28

Attachments:

GoogleCodeExporter commented 9 years ago
FYI

The error is "page does not have permission to use Google Gears".

Regards,
Sorin

Original comment by sorinmoc...@google.com on 4 Nov 2008 at 12:30

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 4 Nov 2008 at 12:31

GoogleCodeExporter commented 9 years ago
(still found in r1019)

Updated patch, contains the hasPermission flag as well.

Thank you,
Sorin

Original comment by sorinmoc...@google.com on 20 Nov 2008 at 12:00

Attachments:

GoogleCodeExporter commented 9 years ago
LGTM. Committed as r1020 to trunk (nightly)

Original comment by galgwt.reviews@gmail.com on 20 Nov 2008 at 1:25

GoogleCodeExporter commented 9 years ago
Released in gwt-gears-1.2.0

Original comment by galgwt.reviews@gmail.com on 21 Feb 2009 at 1:28

GoogleCodeExporter commented 9 years ago
Updating account names

Original comment by zundel@google.com on 21 Dec 2009 at 2:00