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

Age calculation attempted when there is not enough data

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2016-12-05
    • Component/s: Data display
    • Labels:
      None

      Description

      There are two related bugs in age display (e.g. on artist pages):

      • If an entity with a known begin year is ended, but with unknown end date, age will be displayed as if the entity was still active. (This is not much of a problem, but not as intended.)
      • If an entity with a known begin year is ended, and some part of the end date is known (e.g. month), but not the year, an ISE will occur. This is because an attempt is made to calculate the difference between end and begin years, while the end year is undefined.

        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: