Navigating away after editing Page Properties doesn't save nor warn. #653

Open
opened 2026-02-20 15:22:04 -05:00 by deekerman · 0 comments
Owner

Originally created by @Poikilos on GitHub (Aug 13, 2019).

Originally assigned to: @NGPixel on GitHub.

Describe the bug
If you edit a page, the page editor will normally warn you if there are unsaved changes. However, the warning doesn't occur if you've only changed Page Properties, nor are the Page Properties saved.

To Reproduce
Steps to reproduce the behavior:

  1. Edit a Page
  2. Click on "Page" link at top to enter the "Page Properties" screen
  3. Change Title and/or Short Description (no other fields were tested, since they are greyed out in 2.0.0-beta.241)
  4. Click "OK"
  5. Click "Close" (there will be no warning; the changes will only save if you click "Save" before "Close")

Expected behavior
Either:

  • Clicking "OK" on Page Properties should save the properties (and not do a full save).
  • Or, the Close button and other means of navigating away should trigger the warning of unsaved changes and confirmation to discard (to match the behavior that occurs if you change the page's content).

Screenshots
If applicable, add screenshots to help explain your problem.

Host Info:

  • OS: unknown
  • Wiki.js version: 2.0.0-beta.241
  • Database engine: SQLite

Additional context
Add any other context about the problem here.

Originally created by @Poikilos on GitHub (Aug 13, 2019). Originally assigned to: @NGPixel on GitHub. **Describe the bug** If you edit a page, the page editor will normally warn you if there are unsaved changes. However, the warning doesn't occur if you've only changed Page Properties, nor are the Page Properties saved. **To Reproduce** Steps to reproduce the behavior: 1. Edit a Page 2. Click on "Page" link at top to enter the "Page Properties" screen 3. Change Title and/or Short Description (no other fields were tested, since they are greyed out in 2.0.0-beta.241) 4. Click "OK" 5. Click "Close" (there will be no warning; the changes will only save if you click "Save" before "Close") **Expected behavior** Either: - Clicking "OK" on Page Properties should save the properties (and not do a full save). - Or, the Close button and other means of navigating away should trigger the warning of unsaved changes and confirmation to discard (to match the behavior that occurs if you change the page's content). **Screenshots** If applicable, add screenshots to help explain your problem. **Host Info:** - OS: unknown - Wiki.js version: 2.0.0-beta.241 - Database engine: SQLite **Additional context** Add any other context about the problem here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
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
starred/wiki#653
No description provided.