Clicking user name requests a NAN account #62

Open
opened 2019-03-28 10:50:45 +00:00 by pavi · 3 comments
Member

In a normal stream of content when we click on a user name its sending request to a broken entity not available on the server.

The request from the frontend goes this way

https://instance.example/api/v1/accounts/NaN/statuses?exclude_replies=true

The response for above obviously is a 500 Internal Server error

Not sure what is causing this but the code on rendered HTML is as follows

<a href="https://instance.example/users/Username" target="_blank" class="status__display-name"><span class="display-name"><bdi><strong class="display-name__html">Username</strong></bdi><span class="display-name__account">@Username</span></span></a>
In a normal stream of content when we click on a user name its sending request to a broken entity not available on the server. The request from the frontend goes this way > https://instance.example/api/v1/accounts/NaN/statuses?exclude_replies=true The response for above obviously is a `500 Internal Server error` Not sure what is causing this but the code on rendered HTML is as follows ``` <a href="https://instance.example/users/Username" target="_blank" class="status__display-name"><span class="display-name"><bdi><strong class="display-name__html">Username</strong></bdi><span class="display-name__account">@Username</span></span></a> ```
Owner

Please reopen issues next time. Please put some reproductability hints/way, I have no idea what you actually clicked and in what View (timeline, detailed status, …), and this HTML is clean and quite useless, React does a lot of things in memory (unfortunately).

Please reopen issues next time. Please put some reproductability hints/way, I have no idea what you actually clicked and in what View (timeline, detailed status, …), and this HTML is clean and quite useless, React does a lot of things in memory (unfortunately).
Owner

Also this has basically nothing to do with issue 41 so editing the description.

Also this has basically nothing to do with issue 41 so editing the description.
Owner

It’s a duplicate of: #51

It’s a duplicate of: https://git.pleroma.social/pleroma/mastofe/issues/51
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/mastofe#62
No description provided.