Closed (fixed)
Project:
MERCI (Manage Equipment Reservations, Checkout and Inventory)
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2011 at 01:19 UTC
Updated:
21 Dec 2011 at 21:20 UTC
Comments
Comment #1
darrick commentedI can't reproduce this. I tried:
- Added "Group 1" term to MERCI Equipment Grouping taxonomy.
- Set resource item to "Group 1" at admin/content/node-type/resource
- At node/add/merci-reservation select list shows:
Comment #2
raytiley commentedI renamed the this issue to better reflect whats going on. Here are the steps to recreate this issue:
-ray
Comment #3
kreynen commentedThis is actually the same issues we had in #1147076: Editing content type in D7 makes the type un-reservable and breaks views. Instead of ending up with a blank type in the db, we've set the default to 'disabled'. That fix prevented breaking everything when a content type was edited, but didn't resolve the underlying problem.
Comment #4
raytiley commentedreworked the merci_content_type_info fucntion in this commit: http://drupalcode.org/project/merci.git/commit/dd0274e
-ray
Comment #5
darrick commentedThat was my guess. I would revert this: http://drupalcode.org/project/merci.git/commitdiff/b180e82?hp=51a0f85b90...
Also you should leave in $type_name = !empty($type_name) ? str_replace('-', '_', $type_name) : NULL;
The function merci_type_setting is a ripoff of this one:
http://api.lullabot.com/content_types
Comment #6
darrick commented