Page MenuHomePhabricator

[Bug] Invalid calendar models in wbparsevalue are silently discarded
Closed, ResolvedPublic

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
thiemowmde triaged this task as Medium priority.EditedSep 5 2016, 4:07 PM

I agree. The relevant line of code is: https://github.com/DataValues/Time/blob/master/src/ValueParsers/IsoTimestampParser.php#L244. Instead it should throw an exception when an invalid calendar model is given.

Work in progress: https://github.com/DataValues/Time/pull/122

Addshore subscribed.

I just merged the PR in the library (2 years later....) https://github.com/DataValues/Time/pull/122

Looks like this just has to wait for the next release of the Time library now.

Addshore changed the task status from Open to Stalled.Sep 18 2018, 2:19 PM

Once the sub task has been resolved this task should be resolved.
So I'll mark this as stalled for now.