Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7837

Web console: list-editable new item button behaves incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • wizards
    • None

    Description

      How to reproduce:

      1. Open advanced configuration, domain model editing.
      2. Open query section, add one alias, click elsewhere.
      3. Click on added alias to enter edit mode again.
      4. Click on "Add new alias to query".

       

      What happens:

      First alias edit form closes, but new alias is not added.

       

      What should happen:

      First alias edit form should close, another (second) alias should be added, second alias should be in edit mode.

       

      Notes:

      I did some research on the issue, the possible cause of the issue lies either in on-focus-out directive (used inside list-editable) or list-editable directive, or both. If the delete this._cache[idx] expression in stopEditView method of list-editable component controller is wrapped with a $timeout(..., 150) everything works as expected, except that 150ms of added delay makes UX perceptibly worse.

       

      What to do:
      Investigate the cause of the issue described above and fix the incorrect behavior, preferably not the way described in notes section.

      Attachments

        Issue Links

          Activity

            People

              Klaster_1 Ilya Borisov
              Klaster_1 Ilya Borisov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: