mingming-cn / redmine_work_wechat

GNU General Public License v3.0
3 stars 3 forks source link

5.13上,员工账号也添加了企业微信的id,创建问题保存时,报错 #3

Closed learuhu closed 3 months ago

learuhu commented 3 months ago

I, [2024-06-28T14:29:43.157390 #1] INFO -- : Current user: admin (id=1) I, [2024-06-28T14:29:43.241440 #1] INFO -- : Completed 500 Internal Server Error in 87ms (ActiveRecord: 63.8ms | Allocations: 17567) F, [2024-06-28T14:29:43.242173 #1] FATAL -- :
NoMethodError (undefined method `each' for #<User id: 1, login: "admin", hashed_password: [FILTERED], firstname: "Redmine", lastname: "Admin", admin: true, status: 1, last_login_on: "2024-06-28 05:41:57.000000000 +0000", language: "", auth_source_id: nil, created_on: "2024-06-21 06:58:49.000000000 +0000", updated_on: "2024-06-28 06:29:17.000000000 +0000", type: "User", mail_notification: "all", salt: "f278751bf90a4f4897da9783a573f4f9", must_change_passwd: false, passwd_changed_on: "2024-06-21 07:15:20.000000000 +0000", twofa_scheme: nil, twofa_totp_key: nil, twofa_totp_last_used_at: nil, twofa_required: false, work_wechat_user_id: "90026">):

mingming-cn commented 3 months ago

5.1.3 还没测试过,我看一下原因。

mingming-cn commented 3 months ago

问题已修复,可以拉取最新 master 分支代码试一下。