Skip to content
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

imdone-atom 2.4.31 bug moving task to new list #388

Open
shaunc opened this issue Dec 18, 2018 · 0 comments
Open

imdone-atom 2.4.31 bug moving task to new list #388

shaunc opened this issue Dec 18, 2018 · 0 comments

Comments

@shaunc
Copy link

shaunc commented Dec 18, 2018

I just installed imdone-atom 2.4.31. I have 3 files with TODO items in workspace. I created a new list, dragged one to it, and got this error:

Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/repository.js:524
Hide Stack Trace
TypeError: Cannot read property 'source' of undefined
    at Repository.getTask (/Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/repository.js:524:30)
    at HTMLLIElement.<anonymous> (/Users/shauncutts/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:604:25)
    at Function.each (/Users/shauncutts/.atom/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:374:23)
    at jQuery.fn.init.each (/Users/shauncutts/.atom/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:139:17)
    at ImdoneAtomView.module.exports.ImdoneAtomView.replaceTasksInList (/Users/shauncutts/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:602:34)
    at fn (/Users/shauncutts/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:187:12)
    at /Users/shauncutts/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:183:7
    at Function.simpleDispatch [as dispatch] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1190583)
    at PluginViewInterface.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1192024)
    at Repository.<anonymous> (/Users/shauncutts/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:128:25)
    at emitOne (events.js:116:13)
    at Repository.emit (events.js:211:7)
    at /Users/shauncutts/.atom/packages/imdone-atom/lib/services/imdoneio-store.coffee:207:12
    at /Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/repository.js:1046:7
    at async.parallel (/Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/repository.js:1077:5)
    at /Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:726:13
    at /Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:52:16
    at done (/Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:246:17)
    at /Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:44:16
    at /Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:723:17
    at /Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:167:37
    at /Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/mixins/repo-fs-store.js:225:17
    at /Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/repository.js:487:5
    at /Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/mixins/repo-fs-store.js:118:11
    at /Users/shauncutts/.atom/packages/imdone-atom/node_modules/isbinaryfile/index.js:22:24
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/graceful-fs/graceful-fs.js:43:10
    at FSReqWrap.oncomplete (fs.js:135:15)

Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/repository.js:524
Hide Stack Trace
TypeError: Cannot read property 'source' of undefined
    at Repository.getTask (/Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/repository.js:524:30)
    at HTMLLIElement.<anonymous> (/Users/shauncutts/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:604:25)
    at Function.each (/Users/shauncutts/.atom/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:374:23)
    at jQuery.fn.init.each (/Users/shauncutts/.atom/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:139:17)
    at ImdoneAtomView.module.exports.ImdoneAtomView.replaceTasksInList (/Users/shauncutts/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:602:34)
    at fn (/Users/shauncutts/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:187:12)
    at /Users/shauncutts/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:183:7
    at Function.simpleDispatch [as dispatch] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1190583)
    at PluginViewInterface.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1192024)
    at Repository.<anonymous> (/Users/shauncutts/.atom/packages/imdone-atom/lib/views/imdone-atom-view.coffee:128:25)
    at emitOne (events.js:116:13)
    at Repository.emit (events.js:211:7)
    at /Users/shauncutts/.atom/packages/imdone-atom/lib/services/imdoneio-store.coffee:207:12
    at /Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/repository.js:1046:7
    at async.parallel (/Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/repository.js:1077:5)
    at /Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:726:13
    at /Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:52:16
    at done (/Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:246:17)
    at /Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:44:16
    at /Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:723:17
    at /Users/shauncutts/.atom/packages/project-manager/node_modules/async/lib/async.js:167:37
    at /Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/mixins/repo-fs-store.js:225:17
    at /Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/repository.js:487:5
    at /Users/shauncutts/.atom/packages/imdone-atom/node_modules/imdone-core/lib/mixins/repo-fs-store.js:118:11
    at /Users/shauncutts/.atom/packages/imdone-atom/node_modules/isbinaryfile/index.js:22:24
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/graceful-fs/graceful-fs.js:43:10
    at FSReqWrap.oncomplete (fs.js:135:15)

The item is changed in the file, with "TODO" replaced with "#docs:0" (where "docs" is name of new list).

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

1 participant