fixed BUG-33 - complex book/sub_book/series addition

This commit is contained in:
2023-07-01 16:06:55 +10:00
parent fa2d570612
commit a72912b15f
2 changed files with 8 additions and 10 deletions

9
BUGs
View File

@@ -1,4 +1,4 @@
#### BUGS (next-33)
#### BUGS (next-34)
BUG-7: if you remove a series from a book, it won't appear in the series drop-down if it is the first 'missing' book in that series -- either reset the list, or show all series always?
@@ -12,10 +12,3 @@ BUG-31: series does not have 'series_num', so a book in 2 series, means he o
outer has explicity overall ordering of books in both series, so
should be ok?
BUG-33: adding diamond throne to sparhawk novels -> I think I'm readding bsl links -> official error:
book(671) is Elenium (parent_book), series(49) is Elenium series...
DETAIL: Key (book_id, series_id)=(671, 49) already exists.
[SQL: INSERT INTO book_series_link (book_id, series_id, book_num) VALUES (%(book_id__0)s, %(series_id__0)s, %(book_num__0)s), (%(book_id__1)s, %(series_id__1)s, %(book_num__1)s), (%(book_id__2)s, %(series_id__2)s, %(book_num__2)s), (%(book_id__3)s, %(series_id__3)s, %(book_num__3)s)]
[parameters: {'book_id__0': 671, 'book_num__0': None, 'series_id__0': '141', 'book_id__1': '672', 'book_num__1': '1', 'series_id__1': '141', 'book_id__2': 671, 'book_num__2': None, 'series_id__2': '49', 'book_id__3': '672', 'book_num__3': '1', 'series_id__3': '49'}]