[
https://issues.apache.org/jira/browse/FELIX-3415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved FELIX-3415.
-------------------------------------
Resolution: Won't Fix
no activity for years, closing as wont fix. please reopen if you think otherwise
> Disable update button if bundle location URL is invalid
> -------------------------------------------------------
>
> Key: FELIX-3415
> URL: https://issues.apache.org/jira/browse/FELIX-3415
> Project: Felix
> Issue Type: Improvement
> Components: Web Console
> Affects Versions: webconsole-3.1.8
> Reporter: Felix Meschberger
> Priority: Major
>
> When clicking the update button on any bundle, the bundle location (or the
> bundle's update location header) is taken as an URL to retrieve a bundle
> update. If the bundle's update location header is not set and the bundle
> location is not a valid URL, this of course fails.
> We should probably disable the update button if the bundle location URL fails
> to be created:
> try {
> new URL(bundleLocation);
> updatePossible = true;
> } catch (MalformedURLException mue) {
> updatePossible = false;
> }
--
This message was sent by Atlassian Jira
(v8.20.10#820010)