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

juliangb’s picture

I 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?

chertzog’s picture

Editing tasks normally, the dates work as expected. And i couldnt find any other fields that were modified with the workflow.

juliangb’s picture

Status: Active » Postponed (maintainer needs more info)

Could you please post full step by step instructions of how to reproduce this error?

That way I can test and if necessary fix.

juliangb’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)