Uploaded image for project: 'Book Versions'
  1. Book Versions
  2. BVERSION-11

Add book page creation feature

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • Unknown

    Description

      Add the functionality of creating a book page.
      Book page creation is allowed in the master book only.

      A page in the master book can be versioned (https://jira.xwiki.org/browse/BVERSION-2) or unversioned (https://jira.xwiki.org/browse/BVERSION-7).

      When creating a book page, the user must choose if the page is versioned or unversioned.
      When editing a book page, the user can switch from versioned to unversioned and the other way around. When switching from unversioned to versioned, the content of that page will be associated with the latest/active book version.

      When a new version for the book is created (see https://jira.xwiki.org/browse/BVERSION-1), the active version changes and it becomes the latest version.
      Therefore, when the user creates a new versioned page in the book, or the user goes on an existing versioned page in edit mode, a new hidden and terminal child page will be created at save for that version.

      A versioned page in the master book will have multiple associated contents, stored as hidden and terminal child pages that represent, individually, the versioned contents of the current book page.

      On the other hand, if the page is set to be unversioned, no child page is created at save, but the content is kept on the page itself.

       

      Structure of a book page :

      • Versioned book page with no content
        • Teminal & hidden child page with content for version X
        • Teminal & hidden child page with content for version Y
        • ...

      OR

      • Unversioned book page with content

      Attachments

        Activity

          People

            ralucamorosan Raluca Stavro
            ralucamorosan Raluca Stavro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: