招募测试人员

Hi Guys,
I have created a rewards plugin for 2 of my clients. This plugin allows users to earn points by earning reward badges OR doing some pre-defined tasks. These earned points can be redeemed in the points-center where the admin has uploaded rewards.

Plugin Link: GitHub - Ahmedgagan/discourse-rewards

@satonotdead is facing this issue.

b:289:in `detect_enum_conflict!'
/home/user/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/enum.rb:294:in `raise_c
onflict_error': You tried to define an enum named "status" on the model "DiscourseRewards::UserReward", but this will genera
te a instance method "applied?", which is already defined by another enum. (ArgumentError)

I am unable to reproduce this issue & even my other client is not having any issues with the plugin.

I want some people to test the plugin & share if they are facing some similar issue or not. Also, if anyone has a solution for this?

Thank you for testing out the plugin.

Best regards.
Ahmed

7 个赞

是的,另一个插件可以正常工作,但奖励插件不行:

这是一个全新安装,可能是什么地方出错了?我遵循了这份指南:

2 个赞

您可以使用此命令 bundle exec rake db:migrate

2 个赞

测试一下,这招奏效了 :love_you_gesture:

但是现在:

1 个赞

你能重启服务器并检查一下吗?

@Ahmed_Gagan 此插件在 meta 上有主题吗?我想建议一个可以有多种用例的功能。

2 个赞

我还没有发布,但将在未来几天内发布。

另外,上述问题只是我客户那边的安装问题。

感谢大家的帮助。