Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5568

Inline edit does not persist changes when using GridFastNavigation add-on

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • None
    • None
    • None

    Description

      Grid FastNavigation add-on seems to only support unbuffered editors. https://vaadin.com/directory/component/gridfastnavigation-add-on 

      Inline editor does not persist changes with this add-on. Seems like with the add-on editor saveListeners are not notified of editor saving upon closure. Previously, this was taken care of like this:

      getEditor().addSaveListener(event -> datasource.commit(event.getBean())); //in MagnoliaGrid

      Investigation needs to take place to figure out:

      • if the add-on cannot be enabled to use buffered editor somehow.
      • if we cannot trigger save event on our own.
      • if we could make use of FastNavigation listeners to emulate a buffered behaviour on our own
        • using
          • addEditorCloseListener
          • addCellEditListener
            • event.getColumnIndex
            • event.getOldData
            • event.getNewData
        • if this path is taken extra care needs to be taken if JCR node renaming based on change of jcrName works afterwards.

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              sdemocko Šimon Demočko
              sdemocko Šimon Demočko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD