Modify

Opened 3 years ago

Closed 3 years ago

#21816 closed defect (duplicate)

Reproduction of #21811 bug.

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

So Windows 10 PC (not laptop).

https://josm.openstreetmap.de/wiki/Download

select josm-setup.exe
I currently don't have a username or password set up - very important as the error doesn't occur if they do.
Press Download button
Make a change, I drew a building and set the tags
Press the upload Button Upload window opens
Fill in boxes.
Press 'Upload Changes'
"Get an Access Token for 'https.....'" window opens
Type username and password, 'help' and 'me' respectively
Press Authorise now
window 'OAuth authorisation failed' opens
Press Okay On my PC this works perfectly,
so I am baffled, the key difference is the use of a mouse on the PC and the Finger Pad thing under the keyboard on the Laptop.
The only way to on the PC to get the same result is to ignore the Okay button and select the Get an Access Token window which isn't being locked.
If I try selecting the Editor I get an alarm bell and it refuses to allow me to bring the window to the front.
So the issue is simply lock the "Get an Access Token for 'https.....'" when the 'OAuth authorisation failed' window opens.

What is the expected result?

The "Get an Access Token for 'https.....'" window shouldn't be able to be selected whilst the window 'OAuth authorisation failed' is open

What happens instead?

The "Get an Access Token for 'https.....'" window hides the 'OAuth authorisation failed' window.

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

Revision:18360
Build-Date:2022-01-02 23:53:33

Identification: JOSM/1.5 (18360 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19043)
Memory Usage: 239 MB / 2036 MB (92 MB allocated, but free)
Java version: 17.0.1+12-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18360, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\HWConsole.exe]
Dataset consistency test: No problems found

Last errors/warnings:
- 00943.895 E: org.openstreetmap.josm.io.MissingOAuthAccessTokenException
- 00943.910 E: Authentication failed - <html>Failed to authenticate at the OSM server 'https://api.openstreetmap.org/api'.<br>You are using OAuth to authenticate but currently there is no<br>OAuth Access Token configured.<br>Please open the Preferences dialogue and generate or enter an Access Token.</html>
- 00963.224 E: org.openstreetmap.josm.gui.oauth.OsmOAuthAuthorizationException: Failed to authorise OAuth request  'DmK7607wGBREtgKKbg9liscqolLRBmoF7Qkbwp69'
- 00963.237 E: OAuth authorisation failed - <html>The automatic process for retrieving an OAuth Access Token<br>from the OSM server failed.<br><br>Please try again or choose another kind of authorisation process,<br>i.e. semi-automatic or manual authorisation.</html>
- 00967.858 E: org.openstreetmap.josm.gui.oauth.OsmOAuthAuthorizationException: Failed to authorise OAuth request  'IKHe1spWzZn6FXNc1RmzfzH30QXYFxPFs0u2rAhM'
- 00967.871 E: OAuth authorisation failed - <html>The automatic process for retrieving an OAuth Access Token<br>from the OSM server failed.<br><br>Please try again or choose another kind of authorisation process,<br>i.e. semi-automatic or manual authorisation.</html>
- 01287.827 E: org.openstreetmap.josm.gui.oauth.OsmOAuthAuthorizationException: Failed to authorise OAuth request  'hOL6tjpoCgQZvkEyuWqsdS0N25cHujsu9OfOrHuR'
- 01287.840 E: OAuth authorisation failed - <html>The automatic process for retrieving an OAuth Access Token<br>from the OSM server failed.<br><br>Please try again or choose another kind of authorisation process,<br>i.e. semi-automatic or manual authorisation.</html>
- 01785.018 E: org.openstreetmap.josm.io.MissingOAuthAccessTokenException
- 01785.031 E: Authentication failed - <html>Failed to authenticate at the OSM server 'https://api.openstreetmap.org/api'.<br>You are using OAuth to authenticate but currently there is no<br>OAuth Access Token configured.<br>Please open the Preferences dialogue and generate or enter an Access Token.</html>

Attachments (0)

Change History (1)

comment:1 by taylor.smock, 3 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #21811.

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.