View Single Post
Old 11-02-2011, 03:23 PM   #260
fenuks
Enthusiast
fenuks began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Aug 2011
Device: Amazon Kindle 3
Quote:
Originally Posted by capnm View Post
When you add a book to a list it adds a tag to the associated column (or sets it to 'true'). When you remove the book from the list it removes the tag (or sets the column to 'false'). You're wanting it to do opposite when you remove the book.
No, because I configured plugin to modify column only when book is removed from reading list. When adding to list column is not modified.
My column was tristate. While I changed it to two-state all not defined states was changed to 'false'. So, by now everything is ok (read=false). I add book to list (I do not want change state to 'true', because adding book to list doesn't meant that I actually read it), later I remove book from list (which mean I read it), and now column value should be changed to its opposite state (in my case to true, so read=true), but it don't and I get error.

I tested another settings. Error 'works' only when plugin modify column while book is removed from list. So I change settings to modify column only when book is added. It doesn't show any error messages, you could think, problem is solved. Not completely. Firstly I prefer error-caused setting for reasons described above, secondly if column value is 'false' its change to 'true', but if column is 'true' it didn't negate it to 'false'. Simply 'true' remains. Plugin treat bool column as tag column limited to two values. On add it set value as 'y', on remove it tries to remove value and then bang! error.
fenuks is offline   Reply With Quote