초안 페이지에서 아바타를 클릭하면 잘못된 프로필 카드가 로드됩니다

안녕하세요,

초안 페이지에서 게시글 초안의 주제 작성자 프로필 카드가 내 프로필 아바타를 클릭할 때 내 것이 아닌 주제 작성자의 것으로 로드되는 것을 확인했습니다.

감사합니다 :slightly_smiling_face:

2개의 좋아요

Meta에서 여기에서 재현할 수 있습니다 (실제로 콘솔에 많은 오류가 발생합니다)

제 사이트 중 하나에서도 발생합니다 (하지만 콘솔에는 오류가 없습니다)

Drafts의 user-card가 “draft_username” 대신 “username” 필드를 사용하고 있는 건가요? :thinking:

제 사이트의 drafts.json 응답 예시
{
   "drafts":[
      {
         "excerpt":"Probando",
         "created_at":"2022-09-10T22:07:10.363Z",
         "draft_key":"topic_30",
         "sequence":6,
         "draft_username":"Alexander",
         "avatar_template":"/user_avatar/www.rinconestudiantil.ml/alexander/{size}/3_2.png",
         "data":"{\"reply\":\"Probando\",\"action\":\"reply\",\"categoryId\":10,\"archetypeId\":\"regular\",\"metaData\":null,\"composerTime\":3958,\"typingTime\":900}",
         "topic_id":30,
         "username":"wexeljose",
         "username_lower":"wexeljose",
         "name":"José Wexel",
         "user_id":1,
         "title":"Becas de la Fundación Chamangá",
         "slug":"becas-de-la-fundacion-chamanga",
         "category_id":10,
         "archetype":"regular"
      },
      {
         "excerpt":"El Consejo de Formación en Educación es el consejo de educación terciaria pública perteneciente a la Administración Nacional de Educación Pública de Uruguay, tiene como cometido la formación de profesionales de la educación, incluyendo la formación de maestros, profesores, maestros técnicos y educad\u0026hellip;",
         "truncated":true,
         "created_at":"2022-07-25T17:40:48.557Z",
         "draft_key":"topic_26",
         "sequence":37,
         "draft_username":"Alexander",
         "avatar_template":"/user_avatar/www.rinconestudiantil.ml/alexander/{size}/3_2.png",
         "data":"{\"reply\":\"El Consejo de Formación en Educación es el consejo de educación terciaria pública perteneciente a la Administración Nacional de Educación Pública de Uruguay, tiene como cometido la formación de profesionales de la educación, incluyendo la formación de maestros, profesores, maestros técnicos y educadores sociales :botija:.​\\n\\nLa siguiente presentación fue brindada por una Estudiante de Magisterio en una charla dada recientemente:\\n\\n\\n\u003ciframe src=\\\"https://docs.google.com/presentation/d/e/2PACX-1vTLBeoqzHEVu12s151J4nlYE_YJVkFmDDKY5TRx6Q4oZ6QVGmS7M1bLcQAWjCOrQw/embed?start=false\u0026loop=false\u0026delayms=60000\\\" frameborder=\\\"0\\\" width=\\\"1280\\\" height=\\\"320\\\" allowfullscreen=\\\"true\\\" mozallowfullscreen=\\\"true\\\" webkitallowfullscreen=\\\"true\\\"\u003e\u003c/iframe\u003e\\n\\n---\\n\\n:link: Puedes ver más información en http://www.cfe.edu.uy/\",\"action\":\"edit\",\"title\":\"[Información] Magisterio - CL / TyT\",\"categoryId\":8,\"tags\":[\"treinta-y-tres\",\"cerro-largo\"],\"archetypeId\":\"regular\",\"metaData\":null,\"composerTime\":2924,\"typingTime\":300,\"postId\":40}",
         "topic_id":26,
         "username":"Alexander",
         "username_lower":"alexander",
         "name":"",
         "user_id":1,
         "title":null,
         "archetype":null
      }
   ]
}

저는 응답에 보이는 두 번째 토픽의 작성자이지만, 첫 번째 토픽의 작성자는 아닙니다

1개의 좋아요

메타에서 이를 재현할 수 없었습니다. 이미 수정된 것일까요?

게시물 초안이나 새 주제 초안으로 시도해 보셨나요? 이 문제는 다른 사용자의 주제에서 게시물 초안을 만들 때만 발생합니다. 예를 들어 이 주제에서 초안을 만들어 보세요. :slightly_smiling_face:

그래서 나도 이제 그걸 확인했습니다.

이 문제는 초안이 새 주제 자체가 아니라 기존 주제에 대한 답변으로 작성될 때 발생합니다.

1개의 좋아요

커뮤니티에서 수정을 원하시는 분들을 위해 pr-welcome 태그를 붙여 둡니다.

1개의 좋아요

이전에 언급했던 내용을 다시 말씀드리고 싶은데, “data-user-card”(그리고 href)가 초안의 작성자가 아니라 원문(OP)의 작성자를 가리키고 있다는 것을 확인했습니다(예를 들어 아바타는 정상적으로 표시됩니다).

이 파일과 관련이 있나요? :thinking: