fixed bugs 9 & 10, just missing quotes in html for hidden value
This commit is contained in:
11
BUGs
11
BUGs
@@ -15,14 +15,3 @@ BUG-6: author,series, etc. do not have explicit ordering like sub-books... sort
|
||||
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?
|
||||
|
||||
BUG-8: if you add a sub-book, then fail to validate (say no genre), then it takes you back, you click a genre (BUT it has lost th eparent association), so it adds a book, not a sub-book
|
||||
|
||||
### SHOWSTOPPERS: sub book issues, did the following steps:
|
||||
BUG-9: raw DB error as blurb field is undefined -- seems the hidden fields at bottom of form are missing
|
||||
BUG-10: raw DB error as blurb field is undefined -- we are not trapping this sort of DB error?
|
||||
http://mara.ddp.net:5000/series/112
|
||||
http://mara.ddp.net:5000/book/1282 (Mavin Manyshaped)
|
||||
Add Sub-book -> BUG-9
|
||||
then to test above, I:
|
||||
created a new book
|
||||
created a new sub-book
|
||||
Saved it, and it added to Mavin Manyshaped parent book, not the new book -> BUG 10
|
||||
|
||||
@@ -207,7 +207,7 @@ function AddAuthorToBook(num) {
|
||||
or key == 'condition' or key == 'blurb' ) %}
|
||||
{{book_form[key](class="form-control", rows=rows, disabled="disabled" )}}
|
||||
{# disabled fields do not come through in form post, so add hidden to make it work #}
|
||||
<input type="hidden" name={{key}} value={{book_form[key].data}}>
|
||||
<input type="hidden" name="{{key}}" value="{{book_form[key].data}}">
|
||||
{% else %}
|
||||
{{book_form[key](class="form-control", rows=rows )}}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user