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

ASSERT triggered in QDate::fromString

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes