# CSV导出用户时字段数错误

**URL:** <https://meta.discourse.org/t/wrong-number-of-fields-in-csv-export-of-users/203191>\
**Category:** Bug\
**Created:** [2021 年9 月 10 日 17:25 UTC](https://meta.discourse.org/t/wrong-number-of-fields-in-csv-export-of-users/203191 "2021-09-10T17:25:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
发布日期： [2021 年9 月 13 日 21:18 UTC](https://meta.discourse.org/t/wrong-number-of-fields-in-csv-export-of-users/203191/2 "2021-09-13T21:18:01Z")

</div>

> [@alranel](#):
>
> 看起来您的导出器在最后字段没有值时会省略逗号。

这听起来像是一个错误。我推测用户 CSV 文件的问题出现在未为用户设置 `group_names` 字段时。我可以用包含暂存用户的 CSV 文件复现该问题。您是在这里遇到这个问题的吗？

---

_[View the full topic](https://meta.discourse.org/t/wrong-number-of-fields-in-csv-export-of-users/203191)._
