Greasy Fork is available in English.

WME UR-MP tracking

Track UR and MP in the Waze Map Editor

< Σχολιασμός για τον κώδικα WME UR-MP tracking

Αναφορά: Εντάξει - ο κώδικας λειτουργεί αλλά έχει σφάλματα

§
Δημοσιεύτηκε: 11/07/2023

Got the following error when trying to create a RPP. Saving reports no house number, but it's not applying the street or HN on the RPP. Disabling UR-MP Tracking solved this.

userscript.html?name=WME-Place-Harmonizer.user.js&id=28265af3-a7c8-4a91-a761-640444210419:1444 WME Place Harmonizer: TypeError: Cannot read properties of undefined (reading 'type')
at getSelectedVenue (userscript.html?name=WME-Place-Harmonizer.user.js&id=28265af3-a7c8-4a91-a761-640444210419:1455:81)
at onVenuesChanged (userscript.html?name=WME-Place-Harmonizer.user.js&id=28265af3-a7c8-4a91-a761-640444210419:2010:23)
at errorHandler (userscript.html?name=WME-Place-Harmonizer.user.js&id=28265af3-a7c8-4a91-a761-640444210419:1442:13)
at c. (userscript.html?name=WME-Place-Harmonizer.user.js&id=28265af3-a7c8-4a91-a761-640444210419:9727:55)
at y (third_party-83f2439a8e6dd624.js.gz:2:1509189)
at v (third_party-83f2439a8e6dd624.js.gz:2:1508981)
at d (third_party-83f2439a8e6dd624.js.gz:2:1506934)
at u.trigger (third_party-83f2439a8e6dd624.js.gz:2:1508874)
at c.changed (app-04d46366008d5090.js.gz:1:199138)
at c.changeObjectID (app-04d46366008d5090.js.gz:1:199868)
at De._updateObjectInRepository (app-04d46366008d5090.js.gz:1:981106)
at app-04d46366008d5090.js.gz:1:979859
at Array.forEach ()
at De._updateRepositoryFromServerResponse (app-04d46366008d5090.js.gz:1:979795)
at app-04d46366008d5090.js.gz:1:978992
at Array.forEach ()

janglissΔημιουργός
§
Δημοσιεύτηκε: 12/07/2023

Thanks for the report. I suspect there could be a number of scripts causing this error to come up, and it can all come down to order of triggering of events. For example I was able to reproduce with UR-MP disabled, Junction Angle Info caused the same error.

That said, there is a section of code in UR-MP that would trigger the same issue, and I'm already working on a fix for it.

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.