NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Sometime between 1 - 2 months ago when I last edited and now, the in-browser editor has been rendered nonfunctional for me. The problem I can dig up in the debugger reads thusly:

   SyntaxError: invalid regular expression flag s
   id-6172ebd02911868e7b330b540a9baa13d0fcf18c6f57ad447234ca1ec33f4e0f.js:11:8250
in file
https://www.openstreetmap.org/assets/id-6172ebd02911868e7b330b540a9baa13d0fcf18c6f57ad447234ca1ec33f4e0f.js,
the code fragment in question reads
   {var n=o.replace(/#.*/us,"");
"s" is a rather recent regex modifier, and is NOT guaranteed to be present in some number of even recent-ish vintage browsers. It's not even shown at regex101.com yet, a very common go-to reference. This gratuitous type of change has probably broken functionality for a lot of people, who are perhaps not at liberty to rip up their whole browser environment for a bleeding-edge upgrade they don't need. Your "because it's new-n-shiny" is our pain in the ass, sorry.

The workaround for the functionality of the "s" flag is to use '[\s\S]' instead of '.', then matching works across newlines. Someone should FIX this, if they care about keeping the community accomodating and welcome. Coming home from an afternoon of mapping trails that aren't in the database yet, being blocked from adding them is not exactly what I expected.

How does one actually contact the OSM developers, so stuff like this gets in front of the right eyeballs?

_H*

asked 15 Jun '22, 01:13

_Hobbit's gravatar image

_Hobbit
516610
accept rate: 0%

closed 21 Jun '22, 22:14

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701

Which actual browser are you seeing this problem with? You've said "some number of even recent-ish vintage browsers" but that makes literally no sense.

(15 Jun '22, 14:38) SomeoneElse ♦
2
(15 Jun '22, 23:45) _Hobbit

The question has been closed for the following reason "Other" by SimonPoole 21 Jun '22, 22:14


permanent link

answered 15 Jun '22, 06:00

H_mlet's gravatar image

H_mlet
5.4k1781
accept rate: 13%

... which requires a Github account. It's bad enough I have to do browser calisthenics to even log in to THIS and post, now you're making the assumption that I'm on github and/or have to create yet another username and password just to get anywhere near receiving support.

Thanks, I suppose. You realize that this illustrates another part of the larger problem, right?

_H*

(15 Jun '22, 14:23) _Hobbit
2

@_hobbit you can dislike the fact that iD is developed at Github, but you can't complain that the answer is incorrect :)

What would you prefer - that OSM developers spent time on an in-house software development platform rather than use something external?

(15 Jun '22, 14:36) SomeoneElse ♦

@_hobbit Get a passwort manager such as KeePassXC.

(15 Jun '22, 14:58) scai ♦

I appreciate the open-source nature of iD and OSM components are open-source, and I don't care where it is developed, but forcing me to chase them over there to have any hope of opening a useful support case is still disingenuous. Personally, I actually do have a github account [very disused], I have a password manager, I have different vintages of browsers to test things under, but how does that help the next person who doesn't have those resources, but still has a problem with iD or any other piece? Not every OSM user is even close to having or wanting developer or power-user style tools, so please think about the larger community.

There is NO mention of any of this on the main OSM website, no procedure to actually report a bug or problem given, just vague hints under "help" about forums and wikis and IRC and off-topic email lists, that don't lead directly to solutions either. That area is in sad need of a refresh, really. And various other comments I've read support that.

Nobody even offered to simply forward my issue TO the people on github, or acknowledged that maybe there should be a bug submission input means on or linked to from the main site. Instead, I get this runaround. Other than h_mlet's pointer, as indirect as it might be, this is not a good look to someone starting from ground zero.

_H*

(15 Jun '22, 18:30) _Hobbit
3

Forwarding other people's bug reports always has the problem that the developers cannot request further details if they cannot reproduce the problem. In addition, the original reporter never receives a response when the problem is fixed and does not receive information about possible workarounds.

(16 Jun '22, 15:48) scai ♦
1

Carefully avoiding any mention of which version of the Pine browser you are running discourages any possibility of anyone taking the initiative of forwarding this issue to Github for you.

(19 Jun '22, 13:16) Mike N
showing 5 of 6 show 1 more comments

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×60
×6

question asked: 15 Jun '22, 01:13

question was seen: 1,167 times

last updated: 21 Jun '22, 22:14

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum