Hello,
I’m working on a site where there are two weblogs with a single relationship. One is “first lines” and the other is “other lines” A line is created as an entry and then other lines can be related to that master line. I’m using the SAEF for line entry.
I am submitting each “other line” through an extension that checks how many lines have already been written and related to the first line. After ten lines have been related, the extension runs a simple $DB->query($DB->update_string) to update all the lines to a new status.
Once all the lines have been set with the new status, they all show on a final page together.
The problem is that for some reason the relationships are being cached and when the statuses are updated and the lines presented, it only shows the first line (from the “first line” weblog) and the last line (the last line from the “lines” weblog), skipping the 9 in between. When I reset the relationship caches everything is fine.
Clear all caches when new entries are posted is on Dynamic weblog queries is off Using the submit_new_entry_start hook to run the check and the update EE 1.6.8
Why would the cache not be updating?
Moved to the Extensions forum by Moderator
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.