OpenFLUID / openfluid

OpenFLUID framework and applications
https://www.openfluid-project.org/
Other
28 stars 15 forks source link

Fix of date edit issues in Builder #1248

Closed DorianGerardin closed 4 weeks ago

DorianGerardin commented 1 month ago

(closes OpenFLUID/openfluid#1195)

Arthoni commented 1 month ago

Builder crashes as soon as the field end is before begin (by wheel, keyboard or manual pick). Exception is "std ERROR: Time difference computation failed: begin date greater than end date (sent by OpenFLUID framework, located at openfluid::core::RawTime_t openfluid::core::DateTime::diffInSeconds(const openfluid::core::DateTime&) const)".

Proposal: add a try/catch on builder side to avoid crash