Good Day,
Working on a new customer's SugarCRM installation to perform some enhancements.
Task #1 was to upgrade to v6.1 (stopping there now as some reporting model version requirements ...).
This post is being made as I encountered an error
Query Failed:ALTER TABLE project_task modify column id char(36) NOT NULL , modify column date_entered datetime NULL , modify column date_modified datetime NULL , modify column project_task_id int(11) NULL , modify column name varchar(50) NULL , add column status varchar(255) NULL , modify column time_start int(11) NULL , modify column duration int(11) NULL , modify column duration_unit text NULL , modify column assigned_user_id char(36) NULL , modify column modified_user_id char(36) NULL , modify column created_by char(36) NULL , add column order_number int(11) DEFAULT '1' NULL , add column task_number int(11) NULL , add column estimated_effort int(11) NULL , modify column deleted bool DEFAULT '0' NULL , add column utilization int(11) DEFAULT '100' NULL ::MySQL error 1265: Data truncated for column 'time_start' at row 1
## I updated to:
ALTER TABLE project_task modify column id char(36) NOT NULL , modify column date_entered datetime NULL , modify column date_modified datetime NULL , modify column project_task_id int(11) NULL , modify column name varchar(50) NULL , add column status varchar(255) NULL , modify column duration int(11) NULL , modify column duration_unit text NULL , modify column assigned_user_id char(36) NULL , modify column modified_user_id char(36) NULL , modify column created_by char(36) NULL , add column order_number int(11) DEFAULT '1' NULL , add column task_number int(11) NULL , add column estimated_effort int(11) NULL , modify column deleted bool DEFAULT '0' NULL , add column utilization int(11) DEFAULT '100' NULL
This runs.
I had an issue after the upgrade. Before and after I ran the updated SQL into the project task table:
I am getting an error when I try to create or update a Task with dates. Here is an example:
Start Date(01-20-2012 02.15am) is not before 01-22-2012 10.15pm
Now I believe that 01-20-2012 02.15am is before 01-22-2012 10.15pm
My thought is that some thing in the upgrade when wrong. I am digging in the forums.
Any help will be appreciated.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks