Hi Sam, what happened?
Not sure, but @chilldark is saying it does not work on latest
@chilldark Weāve already discussed the issue with your setup in some length in the topic you linked to.
As @fzngagan told you in that topic back in October:
Iām happy to change this, but weāre running this plugin on many of our instances (both development and production) without any issues. You can make a PR for this change, weāll wait on other people to report the issue and if they do report the same issue, @pacharanero will merge it. Meanwhile, you can use your PR branch to avoid the error.
Please do not repost the same issue in multiple places just to attract attention.
@sam It is working fine on the latest Discourse. See for example: Pavilion (which is running the latest Discourse).
Itās been working for us as well on latest.
Hello,
We have an issue with this plugin. Some topics give 500 error. Log file says:
Started GET ā/t/20390.jsonā for 81.215.15.180 at 2020-01-14 06:20:45 +0000
Processing by TopicsController#show as JSON
Parameters: {āidā=>ā20390ā}
Completed 500 Internal Server Error in 161ms (ActiveRecord: 0.0ms | Allocations: 35238)
NoMethodError (undefined methodto_i' for [8, 8]:Array) /var/www/discourse/plugins/discourse-question-answer/lib/qa_post_edits.rb:115:in
qa_vote_countā
Thanks for the report. Iāll take a look at it on Friday.
Iāve added some extra protections here to avoid the error youāre getting (which is specific to your instance). It should work for you now.
Hello our issue fixed with this update thanks.
Hello,
I have the following warning in the devtools:
_ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:72538 [DEPRECATION]
ember-addons/ember-computed-decorators
is deprecated.
Please usediscourse-common/utils/decorators
instead.
I also have the same warning when I under the QA sandbox. I believe itās due to the following line:
Could it be it? If so, could it be possible to change it to discourse-common/utils/decorators
as it suggested in the warning?
Also, for some reason, sometimes when user commented on an answer, it is not possible to comment on the first comment. For example I have the following structure:
- Answer 1
- Comment 1
Then, under comment 1
I donāt have the comment
button. How should I comment on the comment 1
? I do have the button comment
under Answer 1
but it will not sort the comments by the date - the new comment will be above the first comment:
- Answer 1
- Comment 2
- Comment 1
Yes. I just updated Topic List Previews for this. It may take a while before a developer can attend to this. PR accepted
Uploaded a PR here.
Not sure how to solve my second question though.
Thanks @Varsii, appreciated! We will get someone to review and merge the PRs (decorators one looks good, but Iāll leave it for the assigned person).
Hello @angus, and thanks for this plugin! Your āQ/A categoryā link above is broken. I would love to see this plugin in action. Do you have any other links to see this plugin live, in the wild?
@jord8on you have it here
Sorry I missed this, and THANK YOU for the direct link.
@angus just a thought - Several other plugins offer a link in the main description of the plugin, to āsee the plugin in actionā Any chance you could add that link into the main topic description, here? Just a thought.
Thanks for the note. Iāve added an example link in the first post
Angus, you are a great Plugin Author. I have been following your posts.
I found a problem, this plugin is not compatible with some themes.
Or equally you might say that that Theme does not consider this plugin?
Is that Theme overriding a template? If so that may be part of the issue. The plugins we support target the base install and if a Theme works thatās a pleasant benefit. I would extract the elements of that Theme that work and create your own.
Iām now maintaner of this plugin and here is a quick update regarding our update policy:
How to safely update when using our plugins:
Pavilionās update schedule
Pavilion will focus on ensuring compatibility of this plugin with Discourse Core tests-passed
branch during the first 5 days of every month.
Any bugs which arise because of an incompatibility will be addressed asap during this āsupported periodā, preferably by the 7th day. Low severity bugs or Beta features may be kept out of supported scope.
How to perform your update
Consider testing your update on your own staging server built from a back-up of your production site. You can switch this server off for the rest of the month so you donāt get charged for up-time. Use this opportunity to test out all basic functionality to identify any issues with plugins. Report all critical and high issues asap on the relevant plugin topic.
Aim to update your Production Discourse instance in the first 5 days of every month. You will get more focussed support from the Pavilion team on any issues with their plugins during this period.
You update your Production server outside of the first 5 days of the month at your own risk.
PS:
Major code rewrite is coming. You can follow it here:
https://github.com/paviliondev/discourse-question-answer/pull/30
Pardon the confusion: Iām reading I update by the 5th day. Are you saying additional bug fixes will be released through the seventh day?