I thought it might help to have a single task for tracking the efforts to port the Date module to Drupal 7.

Comments

helmo’s picture

While trying date module on D7 alpha 2 I notice a few issues

Upon install:
* date_handler_sort.inc and date_views.inc were in the files[] of date/date.info while not present as files.

While clicking around and adding a date field:

* Notice: Uninitialized string offset: 0 in element_children() (line 4929 of /var/www/drupaldev/drupal-7.0-alpha2/includes/common.inc).
* Notice: Undefined index: text_parts in _date_field_widget_settings_form() (line 209 of /var/www/drupaldev/drupal-7.0-alpha2/sites/default/modules/date/date/date_admin.inc).
* Warning: Missing argument 3 for date_popup_process(), called in /var/www/drupaldev/drupal-7.0-alpha2/includes/theme.inc on line 851 and defined in date_popup_process() (line 163 of /var/www/drupaldev/drupal-7.0-alpha2/sites/default/modules/date/date_popup/date_popup.module).
* Notice: Undefined index: #date_format in date_popup_process() (line 169 of /var/www/drupaldev/drupal-7.0-alpha2/sites/default/modules/date/date_popup/date_popup.module).

arlinsandbulte’s picture

I know Karen is working on this right now, but I don't think Date for D7 is working yet.
There are a lot of changes to be done as D7 has brought some of Date into core, plus fields (cck) is now in core.

karens’s picture

Yep, this is a moving target right now, lots and lots of things are still broken and I'm working on it every day (or nearly every day). I didn't notice the info file problem so I fixed that. The other bugs are things I haven't gotten to yet.

karens’s picture

The D7 code is partly working now. You should be able to configure date fields and see the widgets in node forms, store at least some data successfully, etc. There is lots of work still to be done, but it is coming along. I think all the errors in #1 are fixed at least.

damienmckenna’s picture

Thanks Karen, I'll see if I can give it a spin this weekend or early next week.

mlncn’s picture

Is there any offline code for the sort handler or does this still need to be done?

rorymadden’s picture

Subscribing.

D7 is likely to hit beta in the next few weeks. I would like to test the date module when the beta is released.

karens’s picture

Status: Active » Fixed

I think all this early bugginess is fixed. Now we're into the next level of bugs. Let's start posting separate issues for everything. There are a couple outside issues I've been dancing around, core stopped supporting the datetime type and Views has a bug that won't allow the Date queries to run. I've added a workaround for the core change and posted a patch for the Views bug that hopefully will get applied soon, then we can dive into the rest of it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

off’s picture

Subscribe