Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4063

UI error in pricing pre-set grid

    XMLWordPrintable

Details

    • Critical
    • FIXED: error popping due to incorrect tooltip render for checkbox-column in pricing preset grid

    Description

      Problem

      The ui will crash if the user double clicks the type column in the pricing grid and after this click on the same column one row above. I was only able to reproduce this with German language in the UI. See video for more info.

      It will also fail if you just click the default checkbox in a row different as the currently selected one

      Stack trace:

      overrides.js?v=development:1894 Uncaught DOMException: Failed to execute 'setAttribute' on 'Element': 'vorlage,' is not a valid attribute name.
          at constructor.syncContent (http://translate5.local/modules/editor/overrides.js?v=development:1884:30)
          at constructor.syncContent (http://translate5.local/modules/editor/overrides.js?v=development:1935:51)
          at constructor.updateColumns (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:205018:30)
          at constructor.handleUpdate (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:204830:28)
          at constructor.onUpdate (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:181917:20)
          at constructor.fire (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:20731:42)
          at constructor.doFireEvent (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:21700:47)
          at prototype.doFireEvent (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:58105:31)
          at constructor.fireEventArgs (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:21553:26)
          at constructor.fireEvent (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:21512:25)
          at constructor.onCollectionItemChange (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:102799:12)
          at constructor.notify (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:74624:28)
          at constructor.itemChanged (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:73472:16)
          at constructor.onCollectionItemChange (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:74105:14)
          at constructor.notify (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:74624:28)
          at constructor.itemChanged (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:73472:16)
          at constructor.afterChange (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:91977:24)
          at constructor.afterCommit (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:91980:14)
          at constructor.callJoined (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:85044:32)
          at constructor.commit (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:83759:20)
          at success (http://translate5.local/editor/plugins/js/MatchAnalysis/view/admin/pricing/PresetGridController.js?_dc=1720169086734:169:43)
          at Object.callback (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:8705:32)
          at constructor.onComplete (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:25786:21)
          at constructor.onStateChange (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:25740:16)
          at XMLHttpRequest.method (http://translate5.local/ext-6.2.0/build/ext-all-debug.js:6862:35) 

      Attachments

        Issue Links

          Activity

            People

              pavelperminov Pavel Perminov
              aleksandar Aleksandar Mitrev
              Aleksandar Mitrev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: