After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 562772 - Impossible to add location from Luxembourg
Impossible to add location from Luxembourg
Status: RESOLVED FIXED
Product: libgweather
Classification: Core
Component: locations
unspecified
Other Linux
: Normal normal
: 2.22.0
Assigned To: libgweather-maint
libgweather-maint
: 561935 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-30 16:40 UTC by Vincent Untz
Modified: 2008-12-07 17:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Untz 2008-11-30 16:40:12 UTC
If you try to add Luxembourg from the clock applet, the completion proposes you "Luxembourg, Luxembourg, Belgium". That's broken: it should also propose the Luxembourg country.

I guess the issue is that we don't have a city in the Luxembourg <country>.

Also, related to this:

          <!-- The capital of Belgium -->
          <_name msgctxt="City in Luxembourg, Belgium">Luxembourg</_name>

This comment is obviously wrong.
Comment 1 Vincent Untz 2008-11-30 16:42:04 UTC
Forgot to mention: this confusion comes from the fact that there's a Luxembourg country with a Luxembourg city, and there's a Luxembourg region in Belgium (with no Luxembourg city, as far as I can tell).
Comment 2 Dan Winship 2008-11-30 17:46:39 UTC
the fact that there's a Luxembourg in Belgium is just a coincidence with respect to this bug; the problem is actually geographical, and stems from the fact that ELLX, in Luxembourg-the-country, happens to be the closest weather station to most cities in Luxembourg-the-province as well. This, combined with some slightly-buggy code to assume that the assignment of weather stations to <state>s in 2.22 still applies in 2.24, resulted in ELLX getting sucked across the border and dragging Luxembourg-the-city along with it.

It's possible this has happened in other places; if it has, I think the bug would always show up as moving a weather station from a country without <state>s into a neighboring country with <state>s.
Comment 3 Dan Winship 2008-11-30 18:50:08 UTC
fixed in svn
Comment 4 Daniel Arcangeletti 2008-12-07 17:04:43 UTC
*** Bug 561935 has been marked as a duplicate of this bug. ***