On Mar 14, 2007, at 17:15, Dawn Buie wrote:
> Ok so the primary ID field for the table
'story_instance'
> correlates to the 'object_instance_id' field in the
'story_element'
> table.
Yes.
> or in other words: story_instance.id is connected to
> story_element.object_instance_id .
Yes.
> I wasn't sure what the object_instance_id field
referred to.
>
> I wonder why it is called
'story_element.object_instance_id' and
> not 'story_element.story_instance_id' ?
It's because it's the same class using the same queries for
both
media and stories. But it was pretty arbitrary, to be
honest, as were
a lot of decisions early on in the development of
Bricolage.
> Anyway thank you and I will try that.
>
> Also has anyone thought of adding that functionality to
a Bricolage
> method? IS this something I could request?
I think it'd be nice, but then we'd also have to teach
Bricolage how
to determine the compatibility of different element types,
to make
sure fields and subelements are all correct. For me, it has
made more
sense to just go ahead and manually make the change in the
database
on those few occasions when I needed to. And believe me,
it's a *lot*
better in Bricolage 1.10. It used to be a complete
nightmare. Now
it's merely annoying.
Best,
David
|