You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
addbooks use ValidationError to report duplicated ebook: it should show real message from exception
addepubs use IntegratyError (and dirty message check) to report duplicated ebook but it cannot detect anymore as Bugfixs #90 force use of validate_unique()
Note: validate_unique() method seems to be called by Forms (to be checked on Django 1.8 and later) and it's why method is called inside management command.
The text was updated successfully, but these errors were encountered:
Following #90, valide_unique() needs rewrite:
super()
is not called !addbooks
use ValidationError to report duplicated ebook: it should show real message from exceptionaddepubs
use IntegratyError (and dirty message check) to report duplicated ebook but it cannot detect anymore as Bugfixs #90 force use ofvalidate_unique()
validate_unique()
does not detect fact that user edit book (Editing a book results in apparent error despite the edit succeeding #83)Note:
validate_unique()
method seems to be called by Forms (to be checked on Django 1.8 and later) and it's why method is called inside management command.The text was updated successfully, but these errors were encountered: