Closed (duplicate)
Project:
Excerpt
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2008 at 14:45 UTC
Updated:
3 Apr 2009 at 17:28 UTC
On the first submit with the excerpt module, everything works as expected. However, if you leave the excerpt blank, on subsequent edits you have to either delete the excerpt or manually update it. This patch checks if the teaser has been automatically generated, and if so, leaves the excerpt field blank. This way, when the node is saved, the teaser is re-generated from the body.
I've been using this patch in production for quite a while with 5 content editors, and this was how they all felt it should behave. So it's had a few months of live testing - I'd just forgotten to submit a patch!
Thanks,
--Andrew
| Comment | File | Size | Author |
|---|---|---|---|
| regenerate_teaser_on_edit.patch | 915 bytes | deviantintegral |
Comments
Comment #1
hayesr commentedI apologize for how long it has taken me to look at this, but with the current release this patch doesn't seem to apply cleanly anymore. Can you, or someone else running D5 who needs this functionality check into this?
Comment #2
deviantintegral commentedNow this is funny; turns out I forgot that I submitted a patch for this in another issue: #149536: Should an empty excerpt default to an empty teaser or to the default teaser?. While I've described it differently, if you look at the patches submitted they're the same :).
Marking as duplicate.