postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.82k stars 837 forks source link

Can't import file from URL or upload : Chrome Version 22.0.1229.79 #122

Closed gabrielstuff closed 11 years ago

gabrielstuff commented 12 years ago

Hi !

Trying to use the import function, we get the following error on chrome, and chromium :

Uncaught Error: DataError: DOM IDBDatabase Exception 5

Details log :

pm.indexedDB.addCollection requester.js:3240
(anonymous function) requester.js:2511
o jquery.min.js:2
p.fireWith jquery.min.js:2
w jquery.min.js:4
d

The error concern :

var request = store.put({
Uncaught Error: DataError: DOM IDBDatabase Exception 5 (repeated 5 times)
            "id":collection.id,
            "name":collection.name,
            "timestamp":new Date().getTime()
        });

Thanks ! your extension rocks !

a85 commented 12 years ago

Thanks Gabriel. The feature seems to be working with my Chrome 22 copy. Are requests in the history getting saved? Also, see if you can create new collections. Try uninstalling and re-installing the extension again just in case.

gabrielstuff commented 12 years ago

I can create and save new collection. No issue.

Two computer and two installs bring up the error with the latest extension available on the store.

a85 commented 12 years ago

Weird. Looking into this. The backend database seems to have been initialized properly if you can create collections.

a85 commented 11 years ago

Still unable to replicate this. Not sure if that's a good thing. I removed all my databases and installed a new copy. The Selenium based tests also all pass.

Can you send me the collection file you are importing? Maybe something is wrong there. Also would like to know which OS you are on.

gabrielstuff commented 11 years ago

send you the file in pm. We tested on OSX and Chrome Mint 12.

Thanks !

a85 commented 11 years ago

No notification from github. Is PM available as a feature? :P You can email me the file at abhinav@rickreation.com.

a85 commented 11 years ago

Just tried it with both the web store version and the one in the master branch and it seems to have worked (have emailed the screenshot). Can you try installing Postman from the master branch just in case something went wrong with the installation? Instructions are on the first page of the wiki.

gabrielstuff commented 11 years ago

Try that tonight.

Thanks !