New page is created but not displayed
DaKeks opened this issue · 6 comments
New pages are not displayed after creation.
- Create new page
- Enter a title, e.g. "TEST"
- Save
- Page is not displayed
- New page with same title cannot be created
Hmm, cannot reproduce. FYI we soon provide a larger update of the wiki module.
I created a video using your hosted humhub service: https://youtu.be/Vk2yoqdANhg
Same issue on self hosted instance.
@gevorgmansuryan Can you please take a quick look?
FYI: We'll soon release a bigger update of the Wiki module here: #249
@DaKeks @luke- @gevorgmansuryan
I have the same problem, albeit slightly different.
- Cannot create a wiki page with the same title as a deleted wiki page.
- This occurs for both user profile and space.
- If the wiki module is uninstalled in this state, a server error will occur when accessing the space where the wiki page was deleted or the profile page.
HumHub 1.14.0
wiki 1.8.0, 1.9.0-beta.1
Steps to reproduce a problem
- Create a new wiki page from a space or user profile
- Enter a title (e.g., "TEST") and save
- Delete page
- Repeat steps 1 and 2 (with same title)
- Page cannot be saved.
After this, if the wiki module is uninstalled, the space where the wiki page was created
or attempting to open a user profile will result in a server error.
Deleted wiki page records remain undeleted in the content table of the database.
I tried to delete the record by running php yii integrity/run
from the terminal, but it does not delete the record.
I was able to recover from the server error by manually deleting the record.
Sounds to be related to the new Soft Delete System.
@luke- I cannot reproduce the issue of the hidden page right after creating too.
PR #259:
- hard delete all wiki pages on disable module.
- Display new error message if a page with same title was soft deleted:
I think we should to improve this case, for example, we could display additional button like "Overwrite"(with style red/danger), so the soft deleted page with same title will be replaced with data from the submitted form and make the page published.
Also we can add a message like "If you want to restore and update the deleted page please press the button "Overwrite"".
Do you agree this solution?