Closed (fixed)
Project:
Node.js integration
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 May 2014 at 20:35 UTC
Updated:
24 Oct 2015 at 23:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mrfelton commentedPatch attached makes some updates that seems to get things working again (along with the patches from #2199509: Call to undefined function drupal_add_js #2277565: Call to undefined method Drupal\Core\Path\AliasManager::getPathAlias() and #2223491: Replace hook_library_info). I'm not 100% about all the changes in this patch, especially the removal of the drupal_session_start(); call in nodejs_auth_get_token_callback. I tried updating that to use the new Drupal 8 session handling system but it didn't seem to work but I'm not sure I understand the need for it at all so I ended up removing it to get things working.
Comment #2
mrfelton commentedPatch updated slightly to resolve issues for requests with an empty body or undefined method. I'm not comfortable committing this until I understand why the call to drupal_session_start() was in nodejs_auth_get_token_callback() previously.
Comment #3
mrfelton commentedPatch updated for d8 head.
Comment #4
Anonymous (not verified) commentedi think i fixed this with a recent commit.
please re-open if it's still busted.