Skip to content

[bug]: Page version history is never saved – track_page_version reads removed Page.description field #10150

Open

Description

@IMAFDI

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Page version history is never saved. Every run of track_page_version (apps/api/plane/bgtasks/page_version_task.py) fails with:

AttributeError: 'Page' object has no attribute 'description'. Did you mean: 'description_html'?
  File "/code/plane/bgtasks/page_version_task.py", line 63, in track_page_version
    description_json=page.description,

The Page model has no description field anymore (only description_json, description_binary, description_html, description_stripped), but the task still reads page.description on lines 45 and 63. The task body is wrapped in except Exception: log_exception(e), so the error is swallowed: there is no user-visible error, and no PageVersion row is ever written.

On our self-hosted v1.4.3 instance, pages are edited daily, but the page_versions table has 0 rows. The worker log shows the error above (plane.exception) on page edits.

Expected: editing a page saves a version, so version history shows earlier versions.

The bug is still present on master and preview (lines 45 and 63). A fix is already open in #9281 (switch to page.description_json in both paths, with unit tests), but it has had no review since June. Linking it here so this can be tracked and triaged.

Steps to reproduce

  1. Self-host Plane v1.4.3 (Community).
  2. Open any project page and edit its content.
  3. Check the worker logs (docker logs <worker>): AttributeError: 'Page' object has no attribute 'description' from page_version_task.py.
  4. Run select count(*) from page_versions;: it returns 0. The page's version history has no entries.

Environment

Production

Browser

Google Chrome

Edition

Community

Version

v1.4.3

Activity

  1. Shiva953 commented on Oct 30, 2026

    @Shiva953

    Can I take on this issue? @sriramveeraghanta

  2. added a commit that references this issue on Oct 31, 2026
    971246f
  3. added a commit that references this issue on Nov 2, 2026
    96ee83b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions