Bug 38313 - RESTOAuth2ClientCredentials pref description is confusing
Summary: RESTOAuth2ClientCredentials pref description is confusing
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-31 14:23 UTC by Jake Deery
Modified: 2024-10-31 14:30 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: String patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 38313: Remove confusing string from RESTOAuth2ClientCredentials (1.50 KB, patch)
2024-10-31 14:28 UTC, Jake Deery
Details | Diff | Splinter Review
Bug 38313: Remove confusing string from RESTOAuth2ClientCredentials (1.53 KB, patch)
2024-10-31 14:30 UTC, Jake Deery
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jake Deery 2024-10-31 14:23:38 UTC
In Bug 20734, we added a string informing sysadmins that Net::OAuth2::AuthorizationServer is required for the RESTOAuth2ClientCredentials syspref to be operable.

I don't think we need this anymore, as for git installs this is in the cpanfile, and for package installs this is included as a dependency for koha-perldeps.

Could we remove this string to a) tidy things up, and b) avoid confusion of people installing the cpan module twice (once in Debian, and once in cpan-land)?

Jake.
Comment 1 Jake Deery 2024-10-31 14:28:21 UTC
Created attachment 173803 [details] [review]
Bug 38313: Remove confusing string from RESTOAuth2ClientCredentials

This patch removes a once necessary and now confusing warning
from the RESTOAuth2ClientCredentials syspref.

TO TEST:
a)  Notice how the RESTOAuth2ClientCredentials syspref references
    installing Net::OAuth2::AuthorizationServer, even though this
    module is in the cpanfile and koha-perldeps and has been since
    22.11
b)  APPLY PATCH
c)  Notice how the message is now gone
Comment 2 Jake Deery 2024-10-31 14:30:19 UTC
Created attachment 173804 [details] [review]
Bug 38313: Remove confusing string from RESTOAuth2ClientCredentials

This patch removes a once necessary and now confusing warning
from the RESTOAuth2ClientCredentials syspref.

TO TEST:
a)  Notice how the RESTOAuth2ClientCredentials syspref references
    installing Net::OAuth2::AuthorizationServer, even though this
    module is in the cpanfile and koha-perldeps and has been since
    22.11
b)  APPLY PATCH
c)  Run reset_all in k.t.d
d)  Notice how the message is now gone