Forums » Development »
Workflow-model missing in trunk?!
Added by Stefan Frank over 12 years ago
Between revisions 9976 and 9977 the app/modle/workflow.rb-model has vanished: it is currently missing in trunk - could somebody please put it back (shouldn't there a test be running?!)
Or is it only me who I missing something here?!
Replies (6)
RE: Workflow-model missing in trunk?! - Added by Etienne Massip over 12 years ago
It has been replaced with the three workflow_*
models (file was actually renamed to workflow_transition.rb
).
RE: Workflow-model missing in trunk?! - Added by Jean-Philippe Lang over 12 years ago
Stefan Frank wrote:
shouldn't there a test be running?!
Yes, tests are running on the CI server: http://www.redmine.org/builds/index.html. The Workflow class is gone.
RE: Workflow-model missing in trunk?! - Added by Stefan Frank over 12 years ago
Sorry for the tone, I was a little annoyed yesterday... I struggled with this a longer time and had every reason to believe that I tripped up something that was already working two days ago....
The problem is the database-migration:
which still references the old workflow-class, so the migrations don't run - at least if you're starting from scratch.
RE: Workflow-model missing in trunk?! - Added by Jean-Philippe Lang over 12 years ago
You're right. I didn't catch this because the CI server does not rebuild the db from scratch each time. This will be fixed asap.
RE: Workflow-model missing in trunk?! - Added by Jean-Philippe Lang over 12 years ago
Migration fixed in r10049.