redmine_taskjuggler
redmine_taskjuggler copied to clipboard
Export of task without estimated time
Now : A task without an estimate is exported with a syntax error in the TJP file. Instead of #h the export is just h.
Future : A task without an estimate is not a task.
Choice :
- It is an error at the generation of the TJP file
- It is silently excluded
With requests for schedule computation on the server, it is more and more important for the TJP file to be correct before TJP computation.
Here is what I can do:
- A method on the Redmine Project to see if it is Taskjuggler Ready
- A method on the Taskjuggler Project to see if it is ready
- A method on the Taskjuggler Task to see if it is correct
- A method on the Redmine Issue to see if it is Taskjuggler ready
- A trigger on the Issue to see if it is Taskjuggler ready
- A way of triggering the checking of the project to see if it is Taskjuggler ready
But getting to the above, I guess I will do both:
- Generate an error on TJP creation
- Exclude the task or label it a milestone
I need to see about raising an error here and displaying it on the viewer. In order to do this I can have a error.html.erb file in redmine_taskjuggeler_projects in which I will show an error? I am not quite sure how to show errors in Redmine.
So, here is where all this leads me:
- Find out how to show an error
- Find out how to raise an error
- Rework the method calls around the generation of the tjp file
- Check each task to see if it is TJP ready
- Check each resource to see if it is TJP ready
- Check the project to see if it is TJP ready
- Raise errors ? if they are not compatible