"Author Sort" corrupted when using "Download metadata"

Bug #1510335 reported by squeebook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Calibre 2.41, Windows 7 64bit

When using the Download metadata feature in the Edit Metadata dialog, the Author Sort field gets changed unexpectedly when no Author data is downloaded.

To reproduce:
1. Open the Edit Metadata dialog.
2. Change the Author Sort field to be something other than what is normally derived from the Author field.
3. Configure download metadata to NOT download Authors.
4. Click on Download metadata.
5. Choose one of the found metadata selections.
6. Click Ok to accept.
7. Click Ok to accept the current cover.

Result:
The Author Sort field gets updated as if you had clicked on the button to automatically set it from the Author field. If you have already set it automatically, you don't see any visible change. But if you have, it overwrites what you had manually set there.

Expected:
The Author Sort field should NOT be unexpectedly modified unless the Author field has just been changed when the metadata was downloaded to something different than it was before the operation.

I think causing this update was probably an attempt to streamline the adding of metadata, but when you have configured the metadata downloads to not include authors it is actually ruining any manual settings you have for Author Sort. I noticed this happened unexpectedly and now I am not sure how many of my Author Sorts have been affected by it. I have personally set up the download metadata to only download comments.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.