Bug 343244 - Creating task is impossible when Note default collection is undefined
Summary: Creating task is impossible when Note default collection is undefined
Status: RESOLVED FIXED
Alias: None
Product: zanshin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: already done
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-24 16:19 UTC by Franck Arrecot
Modified: 2015-12-23 21:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franck Arrecot 2015-01-24 16:19:03 UTC
If you only have a task collection defined within zanshin and no NoteCollection, you can't create task on the fly to the inbox or any context , tag. 

KJob *TaskRepository::createItem(const Item &item)  
 -> if (defaultCollection.isValid()) return false

I didn't dig more, but as soon as I Filled the note collection, it worked again.
Need some test on this I guess 

Reproducible: Always

Steps to Reproduce:
1. Take of the default Note collection
2. try create a task in the inbox or on any context/tag (on the fly, no drag and drop)
3. Nothing appear

Actual Results:  
No task created

Expected Results:  
Should create a task
Comment 1 Kevin Ottens 2015-12-23 21:34:32 UTC
This doesn't apply anymore on current master.