Modify

Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#8862 closed enhancement (fixed)

If plugin list download fails there is no message to the user about it

Reported by: pendluuum Owned by: team
Priority: normal Milestone: 13.11
Component: Core Version:
Keywords: error download plugin Cc:

Description

If plugin list download fails there is no message to the user about it. A special case follows but I suspect this happens with all download errors:

If the user changes the plugin list URL from http to https (https://josm.openstreetmap.de/plugin ...) list download fails with this error in the console:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path bu
ilding failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find va
lid certification path to requested target

but no error is thrown in the GUI.

Impact: If a plugin list was downloaded before the user may not notice at all that the list update failed which means that he will never get newer plugin versions.

Expected: At an error should be shown in the GUI.

Attachments (0)

Change History (6)

comment:1 by Don-vip, 11 years ago

Component: PluginCore
Keywords: plugin added; security removed
Type: defectenhancement

comment:2 by pendluuum, 11 years ago

As suspected: There is also no error message in the GUI if there is some other download error. Another special case: "java.net.UnknownHostException: josmd.openstreetmap.de" because of a wrong address/typo.

I do not understand why this bug was re-classified as "enhancement". It is an error in JOSM if no error is shown when the action triggered by the user does not do what it is supposed to do. Or does JOSM follow the paradigma "no news is bad news" (in contrast to "no news is good news")? ;-) Or is the user of JOSM supposed to only start JOSM from a text console window to see such unhandled exceptions if something goes wrong?

Last edited 11 years ago by pendluuum (previous) (diff)

comment:3 by Don-vip, 11 years ago

The error appears on the standard output. Giving a user friendly one is an enhancement.

comment:4 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

In 6257/josm:

fix #8862, see #9101 - UI message when plugin list/icons download fail

comment:5 by Don-vip, 11 years ago

Milestone: 13.11 (6383)

comment:6 by stoecker, 7 years ago

Milestone: 13.11 (6383)13.11

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.