Vertical bar "|" in author name causes ConstraintError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I was messing around with the FanFictionDownl
The part that's important for Calibre in general is that if I edit an author's name to add a "|" character into it I get
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "c:\cygwin\
ConstraintError: ConstraintError: column name is not unique
This doesn't appear to be an FFDL-specific bug, it looks like perhaps the value just isn't being properly sanitized or encoded.
When the problem arose via FFDL Calibre was also put into an inconsistent state, the main library grid listed the author with a comma in place of the bar but the metadata edit window showed the author's name with a bar. There's more detail about that in the forum post linked above, I don't know whether this is a separate issue or something FFDL-specific.
This is with Calibre 1.1.0
description: | updated |
Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.
status fixreleased