Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0.0-beta.1] Opening a discussion not always loads all posts #4137

Open
luceos opened this issue Dec 16, 2024 · 0 comments
Open

[2.0.0-beta.1] Opening a discussion not always loads all posts #4137

luceos opened this issue Dec 16, 2024 · 0 comments
Labels

Comments

@luceos
Copy link
Member

luceos commented Dec 16, 2024

Current Behavior

When opening any discussion with icognito from the index, posts are missing within the view.

Steps to Reproduce

  1. Open incognito window
  2. Open the community index
  3. Open any discussion with at least 3 (or 4) posts
  4. See one in loading state rendered

Expected Behavior

The loading state post should be rendered.

Screenshots

image

Environment

.

Output of php flarum info

Flarum core: 2.0.0-beta.1
PHP version: 8.2.18
MySQL version: 10.11.9-MariaDB-ubu2204
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+---------------------+---------+--------+
| Flarum Extensions   |         |        |
+---------------------+---------+--------+
| ID                  | Version | Commit |
+---------------------+---------+--------+
| flarum-tags         | 0.0     |        |
| flarum-flags        | 0.0     |        |
| flarum-suspend      | 0.0     |        |
| flarum-sticky       | 0.0     |        |
| flarum-statistics   | 0.0     |        |
| flarum-mentions     | 0.0     |        |
| flarum-markdown     | 0.0     |        |
| flarum-lock         | 0.0     |        |
| flarum-likes        | 0.0     |        |
| flarum-lang-english | 0.0     |        |
| flarum-emoji        | 0.0     |        |
| flarum-bbcode       | 0.0     |        |
| flarum-approval     | 0.0     |        |
+---------------------+---------+--------+
Base URL: https://nightly.flarum.site
Installation path: /var/www/demos/nightly
Queue driver: sync
Session driver: file
Mail driver: array
Debug mode: off

Possible Solution

It seems that not all posts from the relationship are loaded. Either the near logic is broken or something else, but the payload for the missing post is not in the api response.

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant