Bug 8797 - can't delete quote of the day
Summary: can't delete quote of the day
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Target Milestone: ---
Assignee: Bugs List
QA Contact:
: 9670 (view as bug list)
Depends on:
Reported: 2012-09-20 13:40 UTC by Nicole C. Engard
Modified: 2018-08-16 12:03 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Bot Control: ---
When did the bot last check this:
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
Description Nicole C. Engard 2012-09-20 13:40:09 UTC
I am documenting the QOTD feature and trying to delete a quote, but it's not letting me do it. I click on the quote id number and nothing happens - the row isn't highlighted or anything and so I can't delete. I'm on FF on Mac. If I click to add a new quote and don't enter any data then I can click on the ID column of the new empty quote and delete it.
Comment 1 Nicole C. Engard 2012-09-20 14:03:04 UTC
By the way, it does work on the import quotes screen - if I want to delete quotes from there they highlight when I click on the ID with no problem.

Comment 2 Marc Véron 2012-09-24 18:56:28 UTC
Add a new quote using "Add quote" button.

Try to select it for deleting (click on ID) -> the line should turn dark gray to indicate that it is selected, but it does not.

Try to select an other, pre existing quote --> Line turns dark gray, quote is deletable.

Reload page. Now, the new quote from step 1) is selectable/deletable as well.

Reproduced several times ond two Koha installations ( and

If this behaviour can not be fixed, documentation should state that a reload of the page is necessary to be able to delete a new quote.

Comment 3 Marc Véron 2014-04-13 11:03:04 UTC
Still valid with
Comment 4 Chris Nighswonger 2014-04-14 12:12:10 UTC
I cannot reproduce this bug on running over our production DB which contains 86 quotes. Adding the 87th quote works as expected including deleting without a page refresh.

I would be interested to know if those who are experienceing this bug are adding quote number 1 to a DB containing no quotes.
Comment 5 Owen Leonard 2014-04-14 14:56:18 UTC
In my test with the sample quote data when I select a quote and click the delete button nothing happens. However, when I refresh the page the quote is no longer there. Tested with Firefox 28 on Windows using version
Comment 6 Chris Nighswonger 2014-04-16 18:49:50 UTC
I'm running

1. Drop/create database.
2. Run webinstaller, selecting sample quote data.
3. Log in to fresh install
4. Navigate to quote editor
5. Select quote #7
6. Click delete button
7. Table refreshes automatically and removes quote #7

So far so good.

8. Now the remaining quotes are unselectable.
9. Refreshing page makes remaining quote selectable again.
10. Select quote #6.
11. Click delete button
12. Table refreshes automatically and removes quote #6
13. Remaining quotes are once again unselectable

So it appears that the select function gets dropped when the table is redrawn.
Comment 7 Katrin Fischer 2014-07-12 13:30:25 UTC
*** Bug 9670 has been marked as a duplicate of this bug. ***
Comment 8 j.kylmala 2015-08-25 15:04:14 UTC
At the moment there comes only the following JS error if deleting an quote: TypeError: this.oApi._fnServerParams is not a function. Line 12 in /intranet-tmpl/lib/jquery/plugins/dataTables.fnReloadAjax.js.

I'm trying to figure out an fix for that and after that I'll also look into this bug.
Comment 9 Marc Véron 2016-09-29 15:55:46 UTC
Re-tested on current master.

New problem:
- Have > 30 quotes to make table paging
- On page 1, select a quote by clicking on Id
- Go to page 2
- Select an other quote
- Go to page 1, try to de-select qoute (by clicking on Id)
Result: You can not de-select.
- Try to select an other quote
Result: You can no longer select other quotes
Comment 10 Joonas Kylmälä 2018-08-16 12:02:01 UTC
I'm not working on this anymore so I removed myself from assigned person.