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
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira