When I go to the reservations tab of an inventory item, I do not see a list of reservations for that item (even though they exist).

I checked the Drupal log and found an SQL error where the node table was not found in merci_ui.module. I changed node to {node} within lines 133-143 and that error went away. However. it was replaced by this error:
Unknown column 'field_merci_date_value'...

Comments

kreynen’s picture

There is an error in one of the update functions in beta2 that attempted to re-add the merci_date field to the merci_reservation content type. This causes the field to moved from content_type_merci_reservations to content_field_merci_date. MERCI's queries are already ridiculously complicated. Keeping that field in the content_type_merci_reservations was the motivation for using a locked field.

I had to fix that a few times while we were testing the 2.x release. I think the update code is fixed in the current -dev version, but darrick just changed it so it should be tested.

I'll add a function to fix sites with this problem tonight.

ianchan’s picture

thanks!

darrick’s picture

Version: 6.x-2.0-beta2 » 6.x-2.x-dev
Status: Active » Fixed

I fixed the missing brackets in merci_ui.module. Also this last Monday I did extensive testing and updates to the install and update code.

Status: Fixed » Closed (fixed)

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