Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.3, 6.8.3
-
Build with MSVC2022 in Debug configuration
-
-
3
-
79a1986e8 (dev), ecae579d0 (6.9), 2c03aa105 (6.8), 7d8898470 (6.8)
-
Foundation Sprint 128, Foundation Sprint 129
Description
When building in Debug config with MSVC2022, calling QDateTime::fromString("0000-01-01T00:00:00.000", "yyyy-MM-ddThh:mm:ss.zzz") triggers the following assert in QDateTimeParser::parse():
ASSERT: "scan.value.isValid() || scan.state != Acceptable" in file C:\Users\qt\work\qt\qtbase\src\corelib\time\qdatetimeparser.cpp, line 1626
Attachments
For Gerrit Dashboard: QTBUG-135382 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
636274,3 | Fix handling of invalid year in QDateTimeParser | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
636296,3 | Add a reproducer tests for an assertion failure | dev | qt/qtbase | Status: MERGED | +2 | 0 |
636843,2 | Add a reproducer tests for an assertion failure | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
637347,2 | Add a reproducer tests for an assertion failure | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |