Closed (cannot reproduce)
Project:
Storm
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2011 at 18:47 UTC
Updated:
9 Jun 2011 at 15:38 UTC
I created a workflow fo the approval of expenses. I made it so that when an employee creates an expense, it creates a revision and sets a workflow state of submitted. Then an administrator will either return or approve the expense, and there is a rule that will publish the expense on approval. But whenever they approve an expense, the date gets set back to 11-30-1999, instead of maintaining the date that was input.
I then tried it with tasks and the same workflow. This time the task dates just get wiped out.
I found what looks to be somewhat related issue here: http://drupal.org/node/340954
Comments
Comment #1
juliangb commentedI don't think #340954: Use of revisions breaks timetrackings is related, because this is now fixed, and that would cause all data to be cleared.
Storm handles dates rather oddly (with some custom handlers) - so I assume this is where the problem lies.
- If you edit an expense / task normally, do the dates remain?
- Within the workflow system, are any other fields deleted?
Comment #2
chertzogEditing tasks normally, the dates work as expected. And i couldnt find any other fields that were modified with the workflow.
Comment #3
juliangb commentedCould you please post full step by step instructions of how to reproduce this error?
That way I can test and if necessary fix.
Comment #4
juliangb commented