Issue 482908 in chromium: onupgradeneeded is not working now.

180 views
Skip to first unread message

chro...@googlecode.com

unread,
Apr 30, 2015, 6:50:33 AM4/30/15
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Cr-Webstore Pri-2 Via-Wizard Type-Bug OS-Windows

New issue 482908 by abhijitd...@gmail.com: onupgradeneeded is not working
now.
https://code.google.com/p/chromium/issues/detail?id=482908

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/42.0.2311.90 Safari/537.36

Steps to reproduce the problem:

What is the expected behavior?

What went wrong?
Hi,
i have issue while creating indexedDB table for first time.. please
help .. need it only for chrome (Version 42.0.2311.90 m).

this is the code i am using...

var openRequest = indexedDB.open("employees", 2);
openRequest.onupgradeneeded = function (e) { // Create the tables here}
openRequest.onsuccess = function (e) { // update the tables here}
openRequest.onerror = function (e) { // error }

onupgradeneeded is not working now..

Thanks in advance

WebStore page:

Did this work before? N/A

Chrome version: 42.0.2311.90 Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 17.0 r0

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Apr 30, 2015, 2:28:46 PM4/30/15
to chromi...@chromium.org
Updates:
Labels: Cr-Blink-Storage-IndexedDB

Comment #1 on issue 482908 by jsb...@chromium.org: onupgradeneeded is not
working now.
https://code.google.com/p/chromium/issues/detail?id=482908

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Apr 30, 2015, 2:33:44 PM4/30/15
to chromi...@chromium.org

Comment #2 on issue 482908 by jsb...@chromium.org: onupgradeneeded is not
working now.
https://code.google.com/p/chromium/issues/detail?id=482908

Issue 482896 has been merged into this issue.

chro...@googlecode.com

unread,
Apr 30, 2015, 3:10:03 PM4/30/15
to chromi...@chromium.org

Comment #3 on issue 482908 by jsb...@chromium.org: onupgradeneeded is not
working now.
https://code.google.com/p/chromium/issues/detail?id=482908

Please attach a full repro and/or describe the expected/actual behavior
you're observing.

I've attached an example. Can you compare the code and see what's different?


Attachments:
example.html 1.0 KB

chro...@googlecode.com

unread,
May 3, 2015, 2:48:27 PM5/3/15
to chromi...@chromium.org

Comment #5 on issue 482908 by mrochk...@gmail.com: onupgradeneeded is not
working now.
https://code.google.com/p/chromium/issues/detail?id=482908

Identical problem here, with code that had been running. Error message
is: "Version change transaction was aborted in upgradeneeded event
handler." Problem seems to be new with 42.

chro...@googlecode.com

unread,
May 3, 2015, 6:43:22 PM5/3/15
to chromi...@chromium.org

Comment #6 on issue 482908 by mrochk...@gmail.com: onupgradeneeded is not
working now.
https://code.google.com/p/chromium/issues/detail?id=482908

Additional comment: I got this error on Chrome 42 on a Chromebook, but not
on OS X. Fixed by adding the unlimitedStorage permission to the manifest.
Fix works on both systems. The problem with this requirement is that
indexeddb, since it is not a Chrome API, has no documented manifest
permissions, so there is no good place to state that this permission is
required. I think it's a bug.

chro...@googlecode.com

unread,
May 4, 2015, 2:11:01 PM5/4/15
to chromi...@chromium.org
Updates:
Labels: -Cr-Webstore

Comment #7 on issue 482908 by c...@chromium.org: onupgradeneeded is not
working now.
https://code.google.com/p/chromium/issues/detail?id=482908

(No comment was entered for this change.)

chro...@googlecode.com

unread,
May 4, 2015, 3:53:29 PM5/4/15
to chromi...@chromium.org

Comment #8 on issue 482908 by jsb...@chromium.org: onupgradeneeded is not
working now.
https://code.google.com/p/chromium/issues/detail?id=482908

@mrochkind: It sounds like you might be hitting a quota limit?

Try adding an 'abort' listener to the transaction during 'upgradeneeded'
handling to see why the transaction is aborting.

chro...@googlecode.com

unread,
Aug 18, 2015, 2:18:59 AM8/18/15
to chromi...@chromium.org
Updates:
Cc: rnimmaga...@chromium.org

Comment #9 on issue 482908 by rnimmaga...@chromium.org: onupgradeneeded is
@abhijitdear & mrochkind: Would you mind replying as per comment #8 ?

Appreciate your help.

Thank you!
Reply all
Reply to author
Forward
0 new messages