Bug 37131 - Unable to open agreement after creation (saved)
Summary: Unable to open agreement after creation (saved)
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: ERM (show other bugs)
Version: 22.11
Hardware: All Linux
: P5 - low critical
Assignee: Jonathan Druart
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-19 18:10 UTC by JT
Modified: 2025-06-02 20:46 UTC (History)
6 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
DevTool error on loading ERM Agreement table. (34.52 KB, image/jpeg)
2024-06-19 18:10 UTC, JT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JT 2024-06-19 18:10:55 UTC
Created attachment 167887 [details]
DevTool error on loading ERM Agreement table.

After a new agreement is created in the ERM module, I tried to open the agreement through the E-resource management> Agreements page.  However functions on this page don't seem to be working correctly.  The Edit & Delete button will no response upon pressing.  The agreement link in the 1st column yield a 404 error message when I click on it.  When I run the browser DEVTool, I discovered the table loaded with errors.  See attachment for error.
Comment 1 Pedro Amorim 2024-06-20 08:36:35 UTC
Tested this on fresh 22.11.x (22.11.18). Can't reproduce.
Tested for tag v22.11.14, created an agreement, showed list, clicked on link, edit, delete. Everything works for me.

What type of installation is this? The error seems to indicate you may be missing some node modules.
Comment 2 JT 2024-06-27 17:37:24 UTC
We installed 22.11.14 on Oracle Linux 9 due to constraints we're working under we can not use Debian or Ubuntu.  Would you know what node modules this might be or how we can check?  We have all the Perl dependencies installed.
Comment 3 Pedro Amorim 2024-07-01 10:02:13 UTC
(In reply to JT from comment #2)
> We installed 22.11.14 on Oracle Linux 9 due to constraints we're working
> under we can not use Debian or Ubuntu.  Would you know what node modules
> this might be or how we can check?  We have all the Perl dependencies
> installed.

Is it a git install then? Is there a "node_modules" directory somewhere? If not, try running "npm install" at the project root level (where "package.json" exists).
Mind you this is just my lead in an attempt to help, the issue may very well not be related to this. Good luck!
Comment 4 JT 2024-07-01 22:38:33 UTC
This wasn’t a GIT install.  The installation produced many subdirectories.  We have a directory called node_module and it has a long list of subdirectories insiders
Comment 5 David Cook 2024-07-01 23:16:33 UTC
This is really more of a support request than a bug report, and you're already on Mattermost talking about it, so I think we can close it.