Skip to content

Incorrect Book Returned #142

Description

@AeroIllini

Bug description

I found this by accident, but I've written down what I did to recreate it.

I checked out two books from Overdrive, and added both of the .acsm files to Calibre. Import was successful for both.

On the Overdrive website, in a browser, I returned one of the books. Call it Book 1.

Then I went to Calibre Preferences -> Plugins -> DeACSM -> Customize Plugin -> Show Loaned Books (is there a better way to get to this?), and both books were listed. I selected the one I had previously returned (Book 1), and clicked the return button. The plugin returned the OTHER book (Book 2), and then (correctly) showed zero books loaned. I confirmed they were both returned by refreshing the Overdrive page in the browser.

Expected behavior: the Loaned Books screen should show current loans, but it's not refreshing if you return the book outside Calibre, until you return another book. Additionally, clicking Return on an already-returned book should throw an error or quietly remove that book from the list, not return a completely different book.

I love this plugin, by the way... it's so much easier than trying to deal with ADE.

Operating system

Windows

Which version of Calibre are you running?

8.12

Which version of the ACSM Input plugin are you running?

0.0.16

Import type

Dragging-and-Dropping the ACSM file into the Calibre window

Further information

Your import type drop-down needs another option: I set up Firefox to open .acsm files in Calibre, and they add from there. Maybe it's the same as drag-and-drop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions