Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129448

ASSERT triggered in QDate::fromString

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.7.3
    • Core: Date/Time
    • None
    • Windows

    Description

      In 6.7.3 an ASSERT is triggered in debug mode calling

        QDate da = QDate::fromString(aline,"ddd MMM dd yyyy");

      Normally, one can call da.isValid() to determine if the string has been processed or not.  This new assert which was not in 6.7.2 prevents the validation test being called and kills the app.

      The assert is reported as:

      ASSERT: "maximum.date().toJulianDay() == 5373484" in file C:\Qt\6.7.3\Src\qtbase\src\corelib\time\qdatetimeparser.cpp, line 1617

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Eddy Edward Welbourne
              chortlemortal David Casper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes