PDA

View Full Version : No id to load



shauki
4 Apr 2018, 11:09 PM
Any new saved fiddle has a 'local' in its link, for example:

https://fiddle.sencha.com/local/15228465195084401094/?_dc=1522909520423

This link is not the standard form. Opening it in another window / browser brings:



{"success":false,"msg":"No `id` to load.","stack":["Error: No `id` to load."," at Promise (/usr/src/app/node_modules/@extjs/sencha-fiddle/Framework.js:72:24)"," at Function.load (/usr/src/app/node_modules/@extjs/sencha-fiddle/Framework.js:42:16)"," at Promise (/usr/src/app/app/routes/Local.js:72:31)"," at Local.handleRun (/usr/src/app/app/routes/Local.js:41:16)"," at Promise (/usr/src/app/app/routes/FiddleBase.js:73:37)"," at Local.handle (/usr/src/app/app/routes/FiddleBase.js:54:16)"," at /usr/src/app/node_modules/@extjs/sencha-expressjs/route/Route.js:32:23"," at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)"," at next (/usr/src/app/node_modules/express/lib/router/route.js:137:13)"," at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:112:3)"]}

What to do to get a valid id for the link?

mitchellsimoens
6 Apr 2018, 2:22 AM
The local route is what is used to run the code within fiddle, that is not the is. The is is generated when you save the fiddle. In the app will then have “fiddle/<id>” in the url of the window hosting the fiddle app itself.

shauki
6 Apr 2018, 2:36 AM
Understood. Thanks