Active
Project:
NPR
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
30 May 2012 at 20:49 UTC
Updated:
3 Jun 2013 at 17:44 UTC
The instance AND field is defined in npr_story -- unlike all other fields.
Comments
Comment #1
musicalvegan0 commentedPlease see this issue for more information.
Comment #2
crookednumber commentedRe-opening. If I'm reading #2010310: Fix shortcomings of field management correctly, that patch proposed something beyond this ticket (conflating npr_fields and npr_story). I'm more than happy to debate that question, but that really should be a separate issue in the queue. This one is much more modest.
Comment #3
musicalvegan0 commentedAssuming we are going to keep two different field-related modules (
npr_fieldsandnpr_story), it's my opinion that wherever you define the schema fornpr_audioshould also be the same place you actually create the field; the schema is inseparable from the field it defines, after all.Right now, the since the schema is defined in
npr_fields, it only makes sense to also callfield_create_field('npr_audio')there as well.Field instances should be created in
npr_storysince instances are attached to content types.