Fix Last Changed updates during ePub rebuilds
Update Last Changed only when Bindery stores a new chapter or adds a new chapter revision. Manual ePub generation, rebuilds, metadata edits and rule changes leave it unchanged. Save the timestamp in the same transaction as the chapter or revision. This preserves the date if a later build fails and prevents retries from moving it forward without another chapter change. Add regression tests for new chapters, revisions, forced rebuilds, failed builds, retries and transaction rollback. Adjust OPDS test data setup and document what Last Changed records.
This commit is contained in:
@@ -321,6 +321,9 @@ The catalog has three lists, with 50 books per page:
|
||||
- By Author, in surname order. Each author leads to their books. A book shows under each of its authors.
|
||||
- By Last Changed, with the newest change first.
|
||||
|
||||
Last Changed records when Bindery stores a new chapter or a new revision of an existing chapter.
|
||||
Rebuilds, metadata edits and rule changes do not update this date.
|
||||
|
||||
A book appears when it has a stored, included chapter. It shows its authors, series, description, tags,
|
||||
language and cover, with your kept values in place of the published values. A reader can search by title,
|
||||
author, series and tag. A download uses the stored chapters, the current ePub rules and the download
|
||||
|
||||
Reference in New Issue
Block a user