BugZero found this defect 40 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
4/9/2024
MongoDB Server
No affected releases provided.
No fixed releases provided.
db.coll.drop(); db.coll.insert({a: NumberInt(1)}); db.coll.aggregate([{$addFields: {b: {$toDate: "$a"}}}]); Error: PlanExecutor error during aggregation :: caused by :: Unsupported conversion from int to date in $convert with no onError value Note it works if we change NumberInt to long or double.