tunisiano187 / WME-send-to-slack

Script to send (Un)lock/Closures/Open/Validations requests to slack, Discord, Telegram, GForm
https://wmests.bowlman.org
GNU General Public License v3.0
4 stars 7 forks source link

[Bug] In request the Location attribute shows inappropriate information #119

Closed Uwe4Waze closed 8 months ago

Uwe4Waze commented 8 months ago

** add an X into between the [ ] like this [X] if you've tryied [x] I've tryied to disable every other scripts [x] I've updated the Browser [x] I've updated Tampermonkey/GreaceMonkey [x] I've updated the script to the latest

Describe the bug In the Lock/Unlock request the Location attribute shows street name, state name. To help editors to recognise if the location is in their editing area the attribute should show city name, state name, country name. The behaviour changed between version 2022.12.08.01 and 2023.08.03.01.

To Reproduce Steps to reproduce the behavior:

  1. Use this permalink https://www.waze.com/editor/?env=row&lon=8.80204398845159&lat=49.0671560042259&zoom=6&segments=188513183
  2. Click Lock icon
  3. Check lock request in slack server
  4. or debug code; set breakpoint at line 547; see variables above CityName, StateName, CountryName

Expected behavior Location attribute in Lock/Unlock request should show city name, state name, country name.

Screenshots ./:

Desktop (please complete the following information):

Additional context PR #118 will fix the problem