Autogenerated excerpt touches "last modified" date of items

Bug #397387 reported by Daniel Hahler
2
Affects Status Importance Assigned to Milestone
b2evolution
Fix Released
Medium
Unassigned

Bug Description

Item::update_excerpt autogenerates $excerpt and sets it to the object, which gets updated in DB if changed/generated.

This leads to post_datemodified also being updated.

This causes items to get the current timestamp as "last modified", if some web spider crawls your archives (where excerpts of old items get displayed (and auto-generated)).

The fix might be to tell DataObject::dbupdate that this change should not touch $datemodified_field.

(Version: trunk r7436, 3.3.0-rc1)

Daniel Hahler (blueyed)
description: updated
Daniel Hahler (blueyed)
Changed in b2evolution:
importance: Undecided → Medium
milestone: none → whissip-3.1
status: New → Triaged
Daniel Hahler (blueyed)
Changed in b2evolution:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.