[JIRA] (IDP-1944) module.sh -u option does not work

Max Spicer (Jira) jira at shibboleth.atlassian.net
Mon Apr 25 15:55:00 UTC 2022


Max Spicer ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A8a558987-2f51-4099-b66f-aae05016c101 ) *created* an issue

Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiNmE0ZTkwZTczYTYxNDA1MmE1ODVjYzUwZmFlNjJlMDMiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/IDP-1944?atlOrigin=eyJpIjoiNmE0ZTkwZTczYTYxNDA1MmE1ODVjYzUwZmFlNjJlMDMiLCJwIjoiaiJ9 ) IDP-1944 ( https://shibboleth.atlassian.net/browse/IDP-1944?atlOrigin=eyJpIjoiNmE0ZTkwZTczYTYxNDA1MmE1ODVjYzUwZmFlNjJlMDMiLCJwIjoiaiJ9 ) module.sh -u option does not work ( https://shibboleth.atlassian.net/browse/IDP-1944?atlOrigin=eyJpIjoiNmE0ZTkwZTczYTYxNDA1MmE1ODVjYzUwZmFlNjJlMDMiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 4.2.1 Assignee: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) Components: Configuration Created: 25/Apr/22 11:54 AM Environment:

IdP 4.2.1. Linux, Ubuntu 20.04.4 LTS.

Priority: Trivial Reporter: Max Spicer ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A8a558987-2f51-4099-b66f-aae05016c101 )

bin/module.sh --help reports -u, --disable <id> [,<id>] Disable module(s) as valid usage. However, calling bin/module.sh -u idp.admin.Hello gives:

bin/module.sh -u idp.admin.Hello                                                             
INFO  - Skipping non-existent resource: class path resource [-u]
...

and then proceeds as if no options were given.

bin/module.sh --disable does work as expected (as does the -e idp.admin.Hello counterpart for --enable).

In general, it seems that any unknown argument (long- or short-form) is interpreted as a class path resource.

( https://shibboleth.atlassian.net/browse/IDP-1944#add-comment?atlOrigin=eyJpIjoiNmE0ZTkwZTczYTYxNDA1MmE1ODVjYzUwZmFlNjJlMDMiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1944#add-comment?atlOrigin=eyJpIjoiNmE0ZTkwZTczYTYxNDA1MmE1ODVjYzUwZmFlNjJlMDMiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100198- sha1:943baf4 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220425/94c614da/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-a54bbe87-376d-4e62-8bee-00b81d998fac
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220425/94c614da/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-8a3a4ade-a3f6-414f-9e77-60b29583b470
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220425/94c614da/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-713b88c3-6839-4288-a9e0-7e115ca58ae9
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220425/94c614da/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-7bee46fb-6d15-4914-ab1b-4cb682afcf29
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220425/94c614da/attachment-0007.png>


More information about the commits mailing list