Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18892

'Edit' floating button should not be displayed for not editable columns in Live Data table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.6
    • Fix Version/s: 13.4.3, 13.7-rc-1
    • Component/s: Live Data
    • Labels:
      None
    • Environment:
      Windows 10 Pro 64bit, Chrome 92, using an instance of XWiki 13.6 on MariaDB 10.6, Tomcat 9.0.50
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Go to Wiki Index page
      3. Mouse hover over an entry in the 'Membership Type' column from the Live data Table

      EXPECTED RESULTS

      The 'Edit' floating button is not displayed, since the 'Membership Type' column is not user editable.

      ACTUAL RESULTS

      The 'Edit' button is displayed and when clicked the respective row's entry becomes apparently editable, but the changes are not saved.

      More generally, the issue occurs when a LD has the liveTable source, both a className and a resultPage in its source parameters and an property returned by the source, but that does not correspond to a property in the configured XClass.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mleduc Manuel Leduc
              Reporter:
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: