Closed (fixed)
Project:
Date
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2010 at 16:01 UTC
Updated:
7 May 2011 at 09:31 UTC
Jump to comment: Most recent file
Opening this against date module since the core bug is on its way, and will require work here for existing sites.
#799982: Updating D6 -> D7 fails if the D6 site has Date module applied
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | update_formats.patch | 1.53 KB | karens |
| #3 | update_formats.patch | 1.3 KB | karens |
Comments
Comment #1
karens commentedJust noting what needs to be done so I don't have to read through the whole issue every time I look at this:
Two date tables have been 'adopted' by core. Any existing tables got renamed to 'd6_date_formats' and 'd6_date_format_locale'. In our upgrade path we need to move any data in those tables to the new D7 tables.
Comment #2
spovlot commentedUsed the following SQL to move custom date formats manually:
INSERT INTO date_format_type (`type`,title,locked)
SELECT `type`,title,locked FROM `date_format_types` WHERE locked = 0
INSERT INTO date_formats (format, type, locked)
SELECT format, type, locked FROM `d6_date_formats` WHERE type = 'custom'
Comment #3
karens commentedHere's the patch I think is needed. Hoping others can try it out to be sure it works right before I commit it.
Comment #4
arlinsandbulte commentedversion should be 7.x-2.x-dev, right?
Comment #5
karens commentedEnded up with a slightly different patch, but committed.