Modify

Opened 8 years ago

Closed 2 years ago

#14695 closed defect (duplicate)

fails to open browser when authenticating while attempting to upload using semi-automatic authentication

Reported by: miklcct@… Owned by: miklcct@…
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open a fresh JOSM installation
  2. Make some changes and upload it. The system now tell me to authenticate
  3. Use semi-automatic authentication and retrieve an access token

What is the expected result?

A browser with sign in page shows up

What happens instead?

Nothing

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-04-02 01:45:00 +0200 (Sun, 02 Apr 2017)
Build-Date:2017-04-02 01:34:50
Revision:11826
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11826 en) Windows 10 64-Bit
Memory Usage: 272 MB / 989 MB (66 MB allocated, but free)
Java version: 1.8.0_131-b11, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1440x900, \Display1 1280x1024
Maximum Screen Size: 1440x1024
Dataset consistency test: No problems found

Plugins:
+ turnrestrictions (33088)

Last errors/warnings:
- W: Update plugins - org.openstreetmap.josm.plugins.PluginHandler$UpdatePluginsMessagePanel[,0,0,0x0,invalid,layout=java.awt.GridBagLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
- E: org.openstreetmap.josm.io.MissingOAuthAccessTokenException
- 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 Dialog and generate or enter an Access Token.</html>

Attachments (0)

Change History (2)

comment:1 by taylor.smock, 2 years ago

Owner: changed from team to miklcct@…
Status: newneedinfo

I suspect this is fixed -- a lot of changes have occurred in the PlatformHookWindows#openUrl since this ticket was opened (compare PlatformHookWindows.java@12744 to PlatformHookWindows.java@18600).

It previously just called Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url); The equivalent code today is a fallback if the Desktop api call fails.

comment:2 by taylor.smock, 2 years ago

Resolution: duplicate
Status: needinfoclosed

Closed as duplicate of #14091.
I'm going to close this as a duplicate -- it turns out we don't offer the semi-automatic method if we have to do the prompt on upload anymore (since r17600).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain miklcct@….
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.