Modify

#23871 closed defect (invalid)

Latest defaultpresets.xml is not included in josm-latest

Reported by: skyper Owned by: team
Priority: blocker Milestone: 24.08
Component: Internal preset Version: latest
Keywords: template_report Cc: stoecker

Description

What steps will reproduce the problem?

  1. Start josm-latest with empty preferences, e.g. java -Djosm.home=/tmp/JOSM -jar /usr/share/josm-latest/josm-latest.jar
  2. Add a new data layer
  3. Add a new node with highway=crossing
  4. Use the preset link to open the Crossing preset

What is the expected result?

Latest internal presets including all changes to trunk/resources/data/defaultpresets.xml up to r19201

What happens instead?

I still see the (UK) behind crossing_ref which was changed in r19164 plus get the warnings about "Invalid in the region"

Please provide any additional information below. Attach a screenshot if possible.

In my standard setup, I already disabled the internal presets, updated the list, closed JOSM, tried to delete any cached file, started JOSM again and enabled the internal presets after once again updated the list but without success.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-08-19 23:47:08 +0200 (Mon, 19 Aug 2024)
Revision:19201
Build-Date:2024-08-20 01:30:32
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19201 en) Linux Debian GNU/Linux 12 (bookworm)
Memory Usage: 331 MB / 1970 MB (153 MB allocated, but free)
Java version: 17.0.12+7-Debian-2deb12u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1366x768x[Multi depth]@60Hz (scaling 1.00×1.00) :0.1 1920x1080x[Multi depth]@[Unknown refresh rate] (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: GNOME
Java package: openjdk-17-jre:amd64-17.0.12+7-2~deb12u1
Java ATK Wrapper package: libatk-wrapper-java:all-0.40.0-3
fonts-noto: fonts-noto:all-20201225-1
VM arguments: [-Djosm.home=<josm.pref>]
Dataset consistency test: No problems found

Attachments (0)

Change History (3)

comment:1 by taylor.smock, 11 months ago

Cc: stoecker added

That is odd. It is available in josm-latest.jar.

comment:2 by taylor.smock, 11 months ago

@skyper: What is the sha512sum for your jar file? On my Ubuntu VM I got 0e450a36b35e2f610906941e86f257ebe53ca1f88d1e4af6268710b002159f336096a68045d95e51bccfd1523ee3974e00720e2abd643207597222ac9005a752 /usr/share/josm-latest/josm-latest.jar.

EDIT: I should add that the jar worked.

Last edited 11 months ago by taylor.smock (previous) (diff)

comment:3 by skyper, 11 months ago

Resolution: invalid
Status: newclosed

Ups, I think you forgot to change one line (L1534) when fixing #23251.


Original, I used the .jar file from the .deb. Now I have also downloaded josm-latest.jar from the website but both are the same and looking into the .jar file I find the outdated defaultpresets.xml.

$ sha512sum Downloads/josm-latest.jar /usr/share/josm-latest/josm-latest.jar
0e450a36b35e2f610906941e86f257ebe53ca1f88d1e4af6268710b002159f336096a68045d95e51bccfd1523ee3974e00720e2abd643207597222ac9005a752  Downloads/josm-latest.jar
0e450a36b35e2f610906941e86f257ebe53ca1f88d1e4af6268710b002159f336096a68045d95e51bccfd1523ee3974e00720e2abd643207597222ac9005a752  /usr/share/josm-latest/josm-latest.jar

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.