substance / notes

Real-time collaborative notes editing.
Other
21 stars 5 forks source link

`master` does not accept login keys #68

Closed almereyda closed 8 years ago

almereyda commented 8 years ago

When accessing my freshly seeded notes pad, http://localhost:5000/#loginKey=ae62f7cd5d0e317546a71a7ae95b6e83 yields different errors, depending on the site being loaded in the tab already, or not.

Not loaded yet:

app.js:35910 Router: getInitialState Notes 0 Object
app.js:1177 storing new sessionToken 7324210860407d118e875dd387b6a076
app.js:38614 Uncaught Error: Illegal child element

Already loaded:

Router.js:35 Router: getInitialState Notes {__events__: Object, __id__: 0, $el: null, el: null, _virtualEl: Object…} 0 Object {loginKey: "ae62f7cd5d0e317546a71a7ae95b6e83"}
Notes.js:254 storing new sessionToken 11fa42a88dd70916d368435a74a68f18
VirtualDOMElement.js:533 Uncaught Error: Illegal child elementVirtualDOMElement.prepareChildren @ VirtualDOMElement.js:533_append @ VirtualDOMElement.js:255append @ VirtualDOMElement.js:247render @ LoginStatus.js:16Component._render @ Component.js:1376ComponentPrototype._compileComponent @ Component.js:1194ComponentPrototype._renderFromScratch @ Component.js:1178ComponentPrototype._render @ Component.js:959Component._render @ Component.js:1371ComponentPrototype._compileComponent @ Component.js:1194ComponentPrototype._renderFromScratch @ Component.js:1178ComponentPrototype._render @ Component.js:959Component._render @ Component.js:1378ComponentPrototype._compileComponent @ Component.js:1194ComponentPrototype._renderFromScratch @ Component.js:1178ComponentPrototype._render @ Component.js:975ComponentPrototype.rerender @ Component.js:230extendInternalState @ Notes.js:276_authenticateDone @ Notes.js:107(anonymous function) @ AuthenticationClient.js:71ajaxOpts.success @ AuthenticationClient.js:26fire @ jquery.js:3099self.fireWith @ jquery.js:3211done @ jquery.js:8264(anonymous function) @ jquery.js:8605

So far the live Demo at notes.substance.io looks nice. Seems we're on par with how such a pad service should be named.

michael commented 8 years ago

I think the loginKey requesting is not yet working correctly.

Try to reseed and login via: http://localhost:5000/#loginKey=1234

Integral commented 8 years ago

Fixed.