Frage-Antwort-Plugin

Hi Sam, what happened?

Not sure, but @chilldark is saying it does not work on latest

1 „Gefällt mir“

@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).

8 „Gefällt mir“

It’s been working for us as well on latest.

1 „Gefällt mir“

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 method to_i' for [8, 8]:Array) /var/www/discourse/plugins/discourse-question-answer/lib/qa_post_edits.rb:115:in qa_vote_count’

1 „Gefällt mir“

Thanks for the report. I’ll take a look at it on Friday.

1 „Gefällt mir“

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.

2 „Gefällt mir“

Hello our issue fixed with this update thanks.

2 „Gefällt mir“

Hello,
I have the following warning in the devtools:

_ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js:72538 [DEPRECATION] ember-addons/ember-computed-decorators is deprecated.
Please use discourse-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
1 „Gefällt mir“

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.

1 „Gefällt mir“

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).

@angus

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

3 „Gefällt mir“

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.

1 „Gefällt mir“

Thanks for the note. I’ve added an example link in the first post :+1:

3 „Gefällt mir“

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.

3 „Gefällt mir“

Ich bin jetzt Maintainer dieses Plugins und hier ist ein kurzer Update zu unserer Update-Richtlinie:

So führen Sie Updates bei der Nutzung unserer Plugins sicher durch:

Pavillons Update-Zeitplan

Pavillon wird sich in den ersten 5 Tagen jedes Monats darauf konzentrieren, die Kompatibilität dieses Plugins mit dem Discourse Core tests-passed-Branch sicherzustellen.

Alle Bugs, die aufgrund von Inkompatibilitäten auftreten, werden während dieses „unterstützten Zeitraums

4 „Gefällt mir“

Entschuldigung für die Verwirrung: Ich habe gelesen, dass ich bis zum 5. Tag aktualisiere. Meinen Sie, dass zusätzliche Fehlerkorrekturen bis zum siebten Tag veröffentlicht werden?

1 „Gefällt mir“