# Bug in :db/ensure's boolean attr handling?

**URL:** https://forum.datomic.com/t/bug-in-db-ensures-boolean-attr-handling/1073
**Category:** Troubleshooting
**Created:** [July 10, 2019, 9:26pm UTC](https://forum.datomic.com/t/bug-in-db-ensures-boolean-attr-handling/1073 "2019-07-10T21:26:52Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![jaret](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/jaret/32/45_2.png) [@jaret](https://forum.datomic.com/u/jaret)
#### Post date: [July 16, 2019, 4:10pm UTC](https://forum.datomic.com/t/bug-in-db-ensures-boolean-attr-handling/1073/3 "2019-07-16T16:10:05Z")

</div>

Thanks again for the report. We have identified a bug here and are working on a fix for the next release. I’ll update all related threads once we have more details on the fix/release.

Cross posting. See my response on the other thread: [Upsert behavior with composite tuple key](https://forum.datomic.com/t/upsert-behavior-with-composite-tuple-key/1075/4)

---

_[View the full topic](https://forum.datomic.com/t/bug-in-db-ensures-boolean-attr-handling/1073)._
