[Bug 27116] New: Send CGI to Koha plugins adding JS/CSS
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27116 Bug ID: 27116 Summary: Send CGI to Koha plugins adding JS/CSS Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Plugin architecture Assignee: koha-bugs@lists.koha-community.org Reporter: fridolin.somers@biblibre.com QA Contact: testopia@bugs.koha-community.org Koha plugins using hooks opac_head/js or intranet_head/js should be created with CGI context. So that the behaviour may depend on vars sent to page. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27116 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |fridolin.somers@biblibre.co |ity.org |m Status|NEW |ASSIGNED -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27116 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #1 from David Cook <dcook@prosentient.com.au> --- While I can see the short-term gain, this sounds like a long-term headache. Wherever possible, we should be trying to avoid all things CGI these days. Not doing so is just adding technical debt... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27116 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|ASSIGNED |RESOLVED --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- (In reply to David Cook from comment #1)
While I can see the short-term gain, this sounds like a long-term headache.
Wherever possible, we should be trying to avoid all things CGI these days. Not doing so is just adding technical debt...
Ahhh I see your point, specially for OPAC we encourage REST API. Since plugins can create API routes, lets say its the way to provide datas. I close. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org