8000 Exception while invoking method '/cards/update' TypeError: Cannot read property 'title' of undefined · Issue #2224 · wekan/wekan · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Exception while invoking method '/cards/update' TypeError: Cannot read property 'title' of undefined #2224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rblomme opened this issue Mar 4, 2019 · 7 comments

Comments

@rblomme
Copy link
rblomme commented Mar 4, 2019

Server Setup Information:

  • Wekan version: v2.36.0
  • Node version: v8.15.1
  • Operating System: Ubuntu 18.04.2 LTS
  • Deployment Method(snap/docker/sandstorm/mongodb bundle/source): snap
  • MongoDB Version: v3.2.22

Problem description:
When I move a card from list A to list B, the syslog file shows

Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: Exception while invoking method '/cards/update' TypeError: Cannot read property 'title' of undefined Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at cardMove (models/cards.js:1301:21) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at Object.<anonymous> (models/cards.js:1461:5) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at packages/matb33_collection-hooks.js:486:20 Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at Array.forEach (<anonymous>) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at Function._.each._.forEach (packages/underscore.js:139:11) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at packages/matb33_collection-hooks.js:485:11 Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at Array.forEach (<anonymous>) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at Function._.each._.forEach (packages/underscore.js:139:11) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at after (packages/matb33_collection-hooks.js:484:9) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at Object.<anonymous> (packages/matb33_collection-hooks.js:505:5) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks.js:146:21) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at ns.Collection.CollectionPrototype._validatedUpdate (packages/allow-deny/allow-deny.js:355:34) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at DDPCommon.MethodInvocation.m.(anonymous function) (packages/allow-deny/allow-deny.js:173:46) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at packages/check.js:128:16 Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:15) Mar 4 11:17:51 tw06v056 wekan.wekan[12437]: at Object._failIfArgumentsAreNotAllChecked (packages/check.js:127:41)

  • steps how to reproduce
    create a new board "test", create a list "A" and a list "B", create a new card "test" in list A;
    move the card from list A to list B

  • *In webbrowser, what does show Right Click / Inspect / Console ? *
    update failed: Internal server error undefined

  • If using Snap, what does show command sudo snap logs wekan.wekan ?

2019-03-04T10:17:51Z wekan.wekan[12437]: at Array.forEach (<anonymous>) 2019-03-04T10:17:51Z wekan.wekan[12437]: at Function._.each._.forEach (packages/underscore.js:139:11) 2019-03-04T10:17:51Z wekan.wekan[12437]: at after (packages/matb33_collection-hooks.js:484:9) 2019-03-04T10:17:51Z wekan.wekan[12437]: at Object.<anonymous> (packages/matb33_collection-hooks.js:505:5) 2019-03-04T10:17:51Z wekan.wekan[12437]: at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks.js:146:21) 2019-03-04T10:17:51Z wekan.wekan[12437]: at ns.Collection.CollectionPrototype._validatedUpdate (packages/allow-deny/allow-deny.js:355:34) 2019-03-04T10:17:51Z wekan.wekan[12437]: at DDPCommon.MethodInvocation.m.(anonymous function) (packages/allow-deny/allow-deny.js:173:46) 2019-03-04T10:17:51Z wekan.wekan[12437]: at packages/check.js:128:16 2019-03-04T10:17:51Z wekan.wekan[12437]: at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:15) 2019-03-04T10:17:51Z wekan.wekan[12437]: at Object._failIfArgumentsAreNotAllChecked (packages/check.js:127:41)

@xet7
Copy link
Member
xet7 commented Mar 4, 2019

Upgrade to Wekan v2.37 with sudo snap refresh

@xet7 xet7 closed this as completed Mar 4, 2019
@rblomme
Copy link
Author
rblomme commented Mar 4, 2019

after upgrade, still the same problem:

Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: Exception while invoking method '/cards/update' TypeError: Cannot read property 'title' of undefined Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at cardMove (models/cards.js:1301:21) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at Object.<anonymous> (models/cards.js:1461:5) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at packages/matb33_collection-hooks.js:486:20 Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at Array.forEach (<anonymous>) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at Function._.each._.forEach (packages/underscore.js:139:11) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at packages/matb33_collection-hooks.js:485:11 Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at Array.forEach (<anonymous>) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at Function._.each._.forEach (packages/underscore.js:139:11) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at after (packages/matb33_collection-hooks.js:484:9) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at Object.<anonymous> (packages/matb33_collection-hooks.js:505:5) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks.js:146:21) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at ns.Collection.CollectionPrototype._validatedUpdate (packages/allow-deny/allow-deny.js:355:34) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at DDPCommon.MethodInvocation.m.(anonymous function) (packages/allow-deny/allow-deny.js:173:46) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at packages/check.js:128:16 Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:15) Mar 4 12:07:18 tw06v056 wekan.wekan[14829]: at Object._failIfArgumentsAre 8000 NotAllChecked (packages/check.js:127:41)

@xet7 xet7 reopened this Mar 4, 2019
@xet7
Copy link
Member
xet7 commented Mar 4, 2019

I'll try to reproduce this, is there same error on my Wekan install.

@xet7
Copy link
Member
xet7 commented Mar 4, 2019

@andresmanelli

Templates board disappeared from newest Wekan, that is built from edge branch.

@xet7
Copy link
Member
xet7 commented Mar 4, 2019

Related #2209

@xet7
Copy link
Member
xet7 commented Mar 4, 2019

There seems to be one template board at MongoDB database, and I tried to add my user to that board, but when I click Templates, Wekan goes to url /b and shows text Board not found.

@rjevnikar
Copy link
Contributor

I"m getting the same/a similar error with v2.37 using docker.
I unfortunately, can't determine what end users are doing to get this error.

When I move a card between lists, I get the following error in the console in Chrome
update failed: Internal server error undefined

@xet7 xet7 closed this as completed in d71543b Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0