Time Report Error
Page: 1
Peter Schmitt
on May 29. 2008. 1:52 pm
Hi Ilija and All,
Just to share some errors I found after the upgrade.
When creating new time report:
First I got an error that the query failed because the is_default does not have default value, I fixed it by setting it to 0.
And then when choosing anybody:
Query failed with message 'Data truncated for column 'user_filter' at row 1'
UPDATE sac_time_reports SET user_filter = 'anybody', user_filter_data = 'N;', date_filter = 'selected_range', date_from = '2008-04-01', date_to = '2008-04-30' WHERE id = '5'
I'm guessing it's because 'anybody' does not exist in the enum:
`user_filter` enum('anyone','logged_user','company','selected')
Not sure the best approach for this, changing the enum or the dropdown value. Any idea? Anybody else had the same problem?
Just to share some errors I found after the upgrade.
When creating new time report:
First I got an error that the query failed because the is_default does not have default value, I fixed it by setting it to 0.
And then when choosing anybody:
Query failed with message 'Data truncated for column 'user_filter' at row 1'
UPDATE sac_time_reports SET user_filter = 'anybody', user_filter_data = 'N;', date_filter = 'selected_range', date_from = '2008-04-01', date_to = '2008-04-30' WHERE id = '5'
I'm guessing it's because 'anybody' does not exist in the enum:
`user_filter` enum('anyone','logged_user','company','selected')
Not sure the best approach for this, changing the enum or the dropdown value. Any idea? Anybody else had the same problem?
Peter Schmitt
on May 30. 2008. 11:04 am
Hi Ilija,
The upgrade that I was referring was v1.1
Is this fixed by release 1.1.1? Cause I didn't see it on the list.
Thanks for the quick feedback.
The upgrade that I was referring was v1.1
Is this fixed by release 1.1.1? Cause I didn't see it on the list.
Thanks for the quick feedback.



