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

Export of task without estimated time #37

Open
chris2fr opened this issue Apr 30, 2014 · 1 comment
Open

Export of task without estimated time #37

chris2fr opened this issue Apr 30, 2014 · 1 comment

Comments

@chris2fr
Copy link
Owner

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
@chris2fr
Copy link
Owner Author

chris2fr commented May 2, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant