Skip to content

[2.0.0-rc.1] Nicknames slug driver causes profile discussions and posts lists to be empty #4603

@luceos

Description

@luceos

Current Behavior

Broken posts and discussions lists.

Steps to Reproduce

  1. Enable nicknames extension
  2. Go to basics, set slug driver for users to "ID with Displayname"
  3. Open your profile on the forum, it shows counts for discussions and posts, but both lists remain empty

Expected Behavior

See lists in both

Screenshots

Image

Environment

  • Flarum version: 2.0.0-rc.1
  • Website URL: https://elated.dev
  • Webserver: [e.g. apache, nginx]
  • Hosting environment: bare metal
  • PHP version: 8.4.16
  • Browser: [e.g. chrome 67, safari 11]

Output of php flarum info

Flarum core: 2.0.0-rc.1
PHP version: CLI: 8.4.16, Web: 8.4.16
PHP memory limit: CLI: 512M, Web: 512M
MySQL version: 8.0.45
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imap, intl, exif, msgpack, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, memcached, redis, swoole, Zend OPcache
+----------------------+---------------+--------+-------+
| Flarum Extensions    |               |        |       |
+----------------------+---------------+--------+-------+
| ID                   | Version       | Commit | Notes |
+----------------------+---------------+--------+-------+
| flarum-flags         | v2.0.0-rc.1   |        |       |
| flarum-tags          | v2.0.0-rc.1   |        |       |
| flarum-approval      | v2.0.0-rc.1   |        |       |
| flarum-nicknames     | v2.0.0-rc.1   |        |       |
| flarum-gdpr          | v2.0.0-rc.1   |        |       |
| flarum-suspend       | v2.0.0-rc.1   |        |       |
| flarum-bbcode        | v2.0.0-rc.1   |        |       |
| flarum-markdown      | v2.0.0-rc.1   |        |       |
| flarum-lock          | v2.0.0-rc.1   |        |       |
| flarum-mentions      | v2.0.0-rc.1   |        |       |
| flarum-subscriptions | v2.0.0-rc.1   |        |       |
| ramon-colored        | 1.3.1         |        |       |
| fof-username-request | 2.0.0-beta.1  |        |       |
| fof-user-bio         | 2.0.0-beta.3  |        |       |
| fof-synopsis         | 2.0.0-beta.2  |        |       |
| fof-reactions        | 2.0.0-beta.6  |        |       |
| fof-photoswipe       | v2.0.0-beta.1 |        |       |
| fof-oauth            | 2.0.0-beta.3  |        |       |
| fof-move-posts       | v2.0.0-beta.4 |        |       |
| fof-links            | 2.0.0-beta.3  |        |       |
| fof-horizon          | v2.0.0-beta.9 |        |       |
| fof-formatting       | 2.0.0-beta.2  |        |       |
| fof-follow-tags      | 2.0.0-beta.6  |        |       |
| fof-checklist        | 2.0.0-beta.1  |        |       |
| flarum-sticky        | v2.0.0-rc.1   |        |       |
| flarum-statistics    | v2.0.0-rc.1   |        |       |
| flarum-lang-english  | v2.0.0-rc.1   |        |       |
| flarum-emoji         | v2.0.0-rc.1   |        |       |
+----------------------+---------------+--------+-------+
Base URL: https://elated.dev
Installation path: /home/forge/elated.dev/public
Queue driver: redis
Session driver: redis (Code override. Configured to file)
Scheduler status: Never run
Mail driver: null
Debug mode: off

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions