Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-7450

Places on the equator don't have their coordinates displayed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2014-04-28
    • Component/s: Data display
    • Labels:
      None

      Description

      When the sidebar tries to find out if a place has coordinates, it does so by checking if latitude and longitude are true. Since 0 evaluates to false, no coordinates are displayed for places on the equator or on the Greenwich meridian.

      Similarly, the "add place" edit display evaluates the latitude (only). This works at the moment, but only by accident, because a zero coordinate is stored as "0.000000" in the edit data (MBS-7438), which evaluates to true.

        Attachments

          Activity

            People

            • Assignee:
              chirlu Ulrich Klauer
              Reporter:
              chirlu Ulrich Klauer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2014-04-28