[Bug 25571] New: "Bibliographic record not found" when click on Edit item table

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 25571] New: "Bibliographic record not found" when click on Edit item table

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25571

            Bug ID: 25571
           Summary: "Bibliographic record not found" when click on Edit
                    item table
 Change sponsored?: ---
           Product: Koha
           Version: 19.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email]

Created attachment 105225
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105225&action=edit
Edit item

Hi,

When I try to edit an item by Edit item link (koha/cataloguing/additem.pl?), I
have a message "Bibliographic record not found."


Regards
Marjorie

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 25571] "Bibliographic record not found" when click on Edit item table

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25571

--- Comment #1 from Marjorie Barry-Vila <[hidden email]> ---
Created attachment 105226
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105226&action=edit
edit item2

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 25571] "Bibliographic record not found" when click on Edit item table

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25571

Jonathan Druart <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]-c
                   |                            |ommunity.org

--- Comment #2 from Jonathan Druart <[hidden email]> ---
Hum, I cannot recreate that. I've tested on master and 19.05.x
Which exact version are you using?

Does it only happen on this column? It's not displayed by default.

Can you confirm how the link looks like before you click, does it have
"biblionumber="?
Does it happen for any bibliographic records?

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 25571] "Bibliographic record not found" when click on Edit item table

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25571

--- Comment #3 from Marjorie Barry-Vila <[hidden email]> ---
(In reply to Jonathan Druart from comment #2)
> Hum, I cannot recreate that. I've tested on master and 19.05.x
> Which exact version are you using?
>
> Does it only happen on this column? It's not displayed by default.
>
> Can you confirm how the link looks like before you click, does it have
> "biblionumber="?
> Does it happen for any bibliographic records?

Hi,

I am using 19.05.04

It's happen on all the column.

The link before clik have biblionumber.

Yes, it's happen for any bibliographic records.

And the link Delete item do not work too.

See video here https://bit.ly/3g6o5RY

Thanks!
Marjorie

--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 25571] "Bibliographic record not found" when click on Edit item table

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25571

--- Comment #4 from Katrin Fischer <[hidden email]> ---
Hi Joubu, it's a context menu, it appears when you click anywhere in the table.

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 25571] "Bibliographic record not found" when click on Edit item table

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25571

--- Comment #5 from Jonathan Druart <[hidden email]> ---
It worked for me on latest 19.05.x, please upgrade to the latest 19.05 and
confirm it is still valid.

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 25571] "Bibliographic record not found" when click on Edit item table

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25571

--- Comment #6 from Jonathan Druart <[hidden email]> ---
1. Do you see a JS error in the console?

2. Does the "Delete item" work?

3. The biblionumber value is retrieved in JS:
 18     var biblionumber = $("input[name='biblionumber']").attr("value");
from koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js

Can you edit the source code of the page and search for
    <input type="hidden" name="biblionumber" value="XXX" />
(for me at line 866)

You can also copy the whole source code and attach it here.

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 25571] "Bibliographic record not found" when click on Edit item table

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25571

--- Comment #7 from Marjorie Barry-Vila <[hidden email]> ---
(In reply to Jonathan Druart from comment #6)

> 1. Do you see a JS error in the console?
>
> 2. Does the "Delete item" work?
>
> 3. The biblionumber value is retrieved in JS:
>  18     var biblionumber = $("input[name='biblionumber']").attr("value");
> from koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js
>
> Can you edit the source code of the page and search for
>     <input type="hidden" name="biblionumber" value="XXX" />
> (for me at line 866)
>
> You can also copy the whole source code and attach it here.

Hi,

Sorry to have bothered you for nothing!

Looking at the javascript codes in the intranetuserjs system preference, I saw
that the code that I had adapted from this
https://wiki.koha-community.org/wiki/JQuery_Library#Add_ability_to_search_authority_records_through_ID
for this page brought the problem.

This code worked very well before 19.05.

if (location.pathname.indexOf('cataloguing/addbooks.pl')>-1 ||
location.pathname.indexOf('cataloguing/additem.pl')>-1) {
    $('#breadcrumbs').before('<form
action="/cgi-bin/koha/catalogue/detail.pl"><div id="biblionumber">Rechercher
par numéro de notice: <input size="8" name="biblionumber"> <input
value="Rechercher" type="submit"></div></form>');
$('#biblionumber').css('margin-left','200px');
}


I will modify it so that it no longer brings the error.

thanks again
Marjorie

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

[Bug 25571] "Bibliographic record not found" when click on Edit item table

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25571

David Cook <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/