Can't create a cells (XHR/Javascript error ?)

When I click “Create a cells”, nothing happens and the console shows:
Loading ShareDialog : Error: expected expression <

Here is the stack


Failed Loading ShareDialog :  Error: expected expression, got '<'
  Evaluating https://foo/ShareDialog
  Loading ShareDialog
    evaluate https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:94
    translateAndInstantiate https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:94
    dynamicExecute https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:93
    doEvaluate https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:93
    ensureEvaluate https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:93
    require<[453]</</</RegisterLoader$1.prototype[Loader.resolveInstantiate]/</< https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:92
    promise callback*require<[453]</</</RegisterLoader$1.prototype[Loader.resolveInstantiate]/< https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:92
    promise callback*require<[453]</</</RegisterLoader$1.prototype[Loader.resolveInstantiate] https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:92
    import https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:92
    promise callback*require<[453]</</</Loader.prototype.import https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:92
    import https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:94
    loadClassesAndApply https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:115
    loadClassesAndApply https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:115
    createClick https://foo/plug/gui.ajax/res/build/PydioWorkspaces.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:15
    handleTouchTap https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:34
    invokeGuardedCallback https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    executeDispatch https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    executeDispatchesInOrder https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    executeDispatchesAndRelease https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    executeDispatchesAndReleaseTopLevel https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    forEachAccumulated https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:51
    processEventQueue https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    runEventQueueInBatch https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    handleTopLevel https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    handleTopLevelImpl https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    perform https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:51
    batchedUpdates https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    batchedUpdates https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    dispatchEvent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    listen https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:12
    trapBubbledEvent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    listenTo https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:46
    enqueuePutListener https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    _updateDOMProperties https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:48
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    performInitialMount https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    mountChildren https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    _createInitialChildren https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    performInitialMount https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    performInitialMount https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:47
    mountComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    mountComponentIntoNode https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    perform https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:51
    batchedMountComponentIntoNode https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    batchedUpdates https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    batchedUpdates https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:50
    _renderNewRootComponent https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    _renderSubtreeIntoContainer https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    renderSubtreeIntoContainer https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:49
    value https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:35
    value https://foo/plug/gui.ajax/res/build/bundle.prod.min.js?v=a944a126afd2b07b2a0b0b6b7300d77b:35
line 4 > injectedScript line 1 > eval:115:26903
    loadClassesAndApply https://foo/ws-common-files/ line 4 > injectedScript line 1 > eval:115

The actual response to /ShareDialog is a “Loading” page in HTML <html xmlns:ajxp> (not sure this is expected)

Update: It happens that without the “Sharing” plugin enable, this wouldn’t work. (Still, I’d expect a nice error message)

Hi @drzraf

To be sure I understood:

  • In “Admin Console >> All Plugins” you have disabled the sharing feature plugin
  • As a user you still see the “Create a Cell” button
  • when you click on it, nothing happen but you have the error above in the Developer Tool Console
  • you would rather have a nice error message in the UI

Correct ?

Also, which version are we talking about ?

And I really didn’t understand this part

I summarized it perfectly.
Cells 2.2.9

The “update” was when I realized the “Sharing” plugin wasn’t enabled.