# Data Explorer "Created By" Missing

**URL:** https://meta.discourse.org/t/data-explorer-created-by-missing/107195
**Category:** Bug
**Tags:** data-explorer
**Created:** [January 22, 2019, 5:01pm UTC](https://meta.discourse.org/t/data-explorer-created-by-missing/107195 "2019-01-22T17:01:25Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [January 22, 2019, 5:01pm UTC](https://meta.discourse.org/t/data-explorer-created-by-missing/107195/1 "2019-01-22T17:01:25Z")

</div>

Just spotted this and I think it may be a bug but thought I’d run it passed you all first.

I created a new query, then after a couple of tweaks chose to delete it, from within the query editor view itself.

Whilst still in this view I then rewrote it and saved it. The summary of queries now shows this;

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/2/02b67961500347ba5a876269e57789f6986006bb.png)

It would seem if you choose to delete the query whilst in the editor but then go on to create and save, the “Created By” data is lost, presumably deleted from the first saved query but then not added back from the session?

Hope this helps 🙂

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [January 24, 2019, 10:30am UTC](https://meta.discourse.org/t/data-explorer-created-by-missing/107195/3 "2019-01-24T10:30:34Z")

</div>

I tested this, very nice find! 👌

Whenever we “undelete” a query, we lose the `created_by`, `created_at` and the `last_run_at` info that existed earlier. Will have a fix ready soon.

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [January 24, 2019, 10:40am UTC](https://meta.discourse.org/t/data-explorer-created-by-missing/107195/4 "2019-01-24T10:40:48Z")

</div>

Hey Rishabh,

Great news on the fix and thank you in advance. 🙂

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [January 28, 2019, 7:39am UTC](https://meta.discourse.org/t/data-explorer-created-by-missing/107195/5 "2019-01-28T07:39:14Z")

</div>

No problem, this should fixed by:

[https://github.com/discourse/discourse-data-explorer/commit/13ab013df20fb32d77eb481130be287794e45cac](https://github.com/discourse/discourse-data-explorer/commit/13ab013df20fb32d77eb481130be287794e45cac)

Thanks for reporting @RobMeade 👍

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [January 28, 2019, 9:26am UTC](https://meta.discourse.org/t/data-explorer-created-by-missing/107195/6 "2019-01-28T09:26:54Z")

</div>

Fantastic, thank you Rishabh, and you are, of course, very welcome 🙂

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [January 28, 2019, 9:27am UTC](https://meta.discourse.org/t/data-explorer-created-by-missing/107195/7 "2019-01-28T09:27:59Z")

</div>


