﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19006	Incorrect plugins path used	skyper	GerdP	"**Edit**: This problem only appears with plugins under several valid paths, see [comment:7 comment 7].

==== What steps will reproduce the problem?
1. Have several plugins with older version installed
1. In Plugin Preferences click on ""Update plugins""
1. Get a message about plugins' updates
1. Close message window and preferences
1. Restart JOSM
1. Look at plugin version in Plugin Preferences. 
 

==== What is the expected result?
All installed plugins are up to date

==== What happens instead?
Plugins with still lower local version installed

==== Please provide any additional information below. Attach a screenshot if possible.
Plugin update policy is set to always start without asking after update. Sadly, I did not recognize the last updates with this setting but, maybe, it helps to smaller the time range the regression was introduced.
Last plugin update seems to be 35330 but ""ejml"" (35313) failed before.

**Edit**: You need to have plugins in several valid path like `.josm/cache/plugins`, `.local/share/JOSM/plugins`, `.config/JOSM/cache/plugins`, `/usr/share/josm/plugins` or `/usr/local/share/josm/plugins` on Linux

In my case updates are stored under `.local/share/JOSM/plugins` but on startup the .jar files from `.config/JOSM/cache/plugins` are used. \\
If several paths are allowed, please, use the correct order, e.g.
1. `/usr/share/josm/plugins`
1. `/usr/local/share/josm/plugins`
1. `{$HOME}/.config/[<josm.name>]/cache/plugins` or `{$HOME}/.josm/cache/plugins`
1. `{$HOME}/.local/share/[<josm.name]>/plugins`
and use the highest version that fits the JOSM revision.\\
Thanks a lot.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-03-27 15:39:19 +0100 (Fri, 27 Mar 2020)
Revision:16205
Build-Date:2020-03-28 02:30:56
URL:https://josm.openstreetmap.de/svn/trunk

Plugins:
+ ImproveWay (29)
+ OpeningHoursEditor (35250)
+ apache-commons (35092)
+ comfort0 (35314)
+ conflation (0.6.4)
+ ejml (35122)
+ geotools (35169)
+ imagery_offset_db (35248)
+ jaxb (35092)
+ jts (35122)
+ opendata (35330)
+ reverter (35313)
+ undelete (35313)
+ utilsplugin2 (35248)
+ waydownloader (35092)
}}}
"	defect	closed	normal	20.12	Core	latest	fixed	template_report update plugin path	
