# Old user suspension reasons have gone missing

**URL:** <https://meta.discourse.org/t/old-user-suspension-reasons-have-gone-missing/37305>\
**Category:** Bug\
**Created:** [2015 年12 月 31 日 05:42 UTC](https://meta.discourse.org/t/old-user-suspension-reasons-have-gone-missing/37305 "2015-12-31T05:42:12Z")\
**Posts on this page:** 1\
**Showing post:** 38

<div class="post-metadata">

作者： ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
发布日期： [2016 年1 月 8 日 15:25 UTC](https://meta.discourse.org/t/old-user-suspension-reasons-have-gone-missing/37305/38 "2016-01-08T15:25:51Z")

</div>

I apologize for introducing this bug. It was a stupid mistake. 😞

As per @sam’s recommendation I have created a PR to change Enums to also accept a hash, and used it almost everywhere where stability is required along with test cases:

[https://github.com/discourse/discourse/pull/3950](https://github.com/discourse/discourse/pull/3950)

* * *

More details here:

[https://meta.discourse.org/t/enums-that-are-used-in-tables-need-to-be-stable/37622](https://meta.discourse.org/t/enums-that-are-used-in-tables-need-to-be-stable/37622)

---

_[View the full topic](https://meta.discourse.org/t/old-user-suspension-reasons-have-gone-missing/37305)._
