[JIRA] (IDP-1928) Plugin Installer saves absolute paths for plugin contents
Rod Widdowson (Jira)
jira at shibboleth.atlassian.net
Thu Mar 31 09:52:52 UTC 2022
Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) *commented* on IDP-1928 ( https://shibboleth.atlassian.net/browse/IDP-1928?atlOrigin=eyJpIjoiNjZjMzQ0ZmRjZTcyNGI4YmE5MWE0Y2Q0OTg4NmM5ZDciLCJwIjoiaiJ9 )
Re: Plugin Installer saves absolute paths for plugin contents ( https://shibboleth.atlassian.net/browse/IDP-1928?atlOrigin=eyJpIjoiNjZjMzQ0ZmRjZTcyNGI4YmE5MWE0Y2Q0OTg4NmM5ZDciLCJwIjoiaiJ9 )
The fix here is something like
* Add a property saying “path is relative”
* start saving & uses idp-home relative paths
* Convert on load if path is absolute
* use idp home if it matches
* detect the installed idp home (and warn/info) if it is not what we expect. We can do this because at least one of the install files with be of the form OLD_IDP_HOME/dist/plugin-webapp/WEB-INF/stuff
( https://shibboleth.atlassian.net/browse/IDP-1928#add-comment?atlOrigin=eyJpIjoiNjZjMzQ0ZmRjZTcyNGI4YmE5MWE0Y2Q0OTg4NmM5ZDciLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1928#add-comment?atlOrigin=eyJpIjoiNjZjMzQ0ZmRjZTcyNGI4YmE5MWE0Y2Q0OTg4NmM5ZDciLCJwIjoiaiJ9 )
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#100197- sha1:666e164 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220331/9678dca3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-41e4e08f-2753-4e5a-a9aa-ad4a9d6ef097
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220331/9678dca3/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-71c4d4be-fc7f-4793-94e1-ad9f0656319c
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220331/9678dca3/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-a58f399b-afd6-4478-8a62-eacbbaaa5d14
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220331/9678dca3/attachment-0005.png>
More information about the commits
mailing list