By Date: <-- -->
By Thread: <-- -->

[Bug 5280] Dedicated table isn't updated



Please do not reply directly to this message. All additional comments should
be made in the comments box of this bug report.

http://bugs.xaraya.com/show_bug.cgi?id=5280





------- Additional Comments From mikespub (at) xaraya.com  2006-02-09 09:58 GMT -------
DD is quite happy working with missing DD items and/or fields in the
xar_dynamic_data table - in fact it assumes from the start that DD extension
objects will often be "sparsely populated", i.e. not every module item will have
corresponding DD values, and not every DD field will have a value either.

Of course, when you switch to a dedicated table, this no longer applies. So the
process of moving DD extension objects from the xar_dynamic_data table to a
dedicated table could be simplified and take this into account, e.g. by looping
over all module items and verifying that a DD record exists, or something like
that...

We haven't gotten around to that yet, mainly because this is typically a
one-time operation that you would do once your prototyping is done and you start
building your real site - in which case you set it up once, and all new module
items *will* get corresponding DD records in the dedicated table anyway.

As it says in that article : "Caution: if you added dynamic fields to some
module items after creating the items, you may end up with missing records in
your dedicated table."

Leaving this open as a reminder for improvement...

-- 
Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Xaraya_bugs mailing list
Xaraya_bugs (at) xaraya.com
http://xaraya.com/mailman/listinfo/xaraya_bugs