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

Stream will break if Wiki Entries are archived #364

Open
mnault opened this issue Jan 1, 2025 · 3 comments
Open

Stream will break if Wiki Entries are archived #364

mnault opened this issue Jan 1, 2025 · 3 comments
Assignees

Comments

@mnault
Copy link

mnault commented Jan 1, 2025

What steps will reproduce the problem?

Install and enable the wiki. By default, the wiki entries will appear in the stream (Disabling this is a workaround).

  1. Create a few wiki entries (to get a "show more"-type button in the stream when displaying):
    image

  2. Move one of the wiki entry to archive:
    image

  3. "The content has been archived"... Now, press the next "Show more" button for the Wiki entries:
    image

  4. The stream breaks, and you get the error:
    image

What is the expected result?

Expected result should be the same as you get when not archiving wiki entries, but clicking the "show more" button: you get more wiki entries in the stream.

What do you get instead?

You get the "An unexpected error occurred" error. A way to avoid this is to prevent the wiki entries in the settings from displaying in the stream:
image

Additional info

Q A
HumHub version 1.16.2
PHP version PHP 8.3.15 (cli) (built: Dec 17 2024 18:18:02) (NTS gcc x86_64)
Operating system Linux praetorian 6.11.9-100.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Nov 17 18:52:19 UTC 2024 x86_64 GNU/Linux

Note: Also provide the full error stacks from Administration --> Information --> Logging and errors from your browser console if possible.
Note: Please use the community site for any questions on customizing HumHub.

@luke- luke- transferred this issue from humhub/humhub Jan 1, 2025
@gevorgmansuryan
Copy link
Contributor

Can not reproduce (Wiki: 2.3.7), check attached video:

Screen.Recording.2025-02-28.at.15.24.33.mov

Is there any additional details?

@felixhahnweilheim
Copy link
Contributor

You need to archieve the last content before the "Show more button" to reproduce the bug.
I can reproduce it with calendar events, so it doesn't seem specific to wiki contents.

@gevorgmansuryan
Copy link
Contributor

@felixhahnweilheim thanks!

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

No branches or pull requests

4 participants