To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #358 (closed defect: fixed)

Opened 21 months ago

Last modified 16 months ago

Wrong titles sometimes shown on blog engine 'show' page

Reported by: boutell Owned by: dordille
Priority: major Milestone: 1.5
Component: apostropheBlogPlugin Version: trunk
Keywords: Cc: agilbert, geoffd, jake
Symfony version: 1.4

Description

This is because the getTitle() method is triggering an implicit load of the related Page object, and then looking at slots which haven't been hydrated with queryWithSlots(), resulting in the wrong versions of things coming back.

Make sure events don't have the same bug.

Change History

Changed 21 months ago by dordille

  • priority changed from critical to major

I have fixed this by using aBlogItemTable::populatePages() to call queryWithSlots for blog posts and events. I am lowering this from critical but not closing because my current method could probably be improved to reduce the maintenance of using populatePages in many places.

Changed 21 months ago by agilbert

  • milestone changed from 1.1 to 1.2

Changed 16 months ago by dordille

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.