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.
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.
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 (3.09.00.030 and 3.09.00.056)
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.
Still valid with 3.15.00.028
I cannot reproduce this bug on 3.14.03.000 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.
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 3.15.00.028.
I'm running 3.15.00.030.
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.
*** Bug 9670 has been marked as a duplicate of this bug. ***
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.
Re-tested on current master.
- 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
I'm not working on this anymore so I removed myself from assigned person.