Canned responses randomly not working (Discourse 2.2)

First one:

c.topic.posters[0].user

1. {id: 4318, username: "premiumusername", name: "Erwan Quinat", avatar_template: "/letter_avatar_proxy/v3/letter/p/ebca7d/{size}.png"}

  1. avatar_template: "/letter_avatar_proxy/v3/letter/p/ebca7d/{size}.png"
  2. id: 4318
  3. name: "Erwan Quinat"
  4. username: "premiumusername"
  5. __proto__: Object

And the second one:

1. {extras: "latest", description: "Original Poster, Most Recent Poster", user: {…}}

  1. description: "Original Poster, Most Recent Poster"
  2. extras: "latest"
  3. user: {id: 4318, username: "premiumusername", name: "Erwan Quinat", avatar_template: "/letter_avatar_proxy/v3/letter/p/ebca7d/{size}.png"}
  4. __proto__: Object


@zogstrip do you have any idea? I’m lost here.

@nbianca can you add to your list to look at this when you are back.

3 Likes

I am not sure what caused the issue here, but I refactored that code anyway to something that should work better (is also used in topic map).:slightly_smiling_face:

https://github.com/discourse/discourse-canned-replies/commit/d1c67b23bbef908fb82d5302d2c6f954b8d08187

5 Likes

It’s been 30 hours since I’ve upgraded and the problem seems gone. I love you.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.