In Webapps, values are not substituted in translate strings if loading is delayed

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.11.0, 7.11.0-alpha3
    • Affects Version/s: None
    • Component/s: webapp
    • None

      Heads up: This list it not complete: all translate filters with variable substitution were replaced by translate directive.

      Problem #1: In Cockpit, go to decisions dashboard
      Problem #2: In Cockpit, on process definition view, submit the suspension to a date in the future via the modal dialog
      Problem #3:

      • In Admin, edit a user and click on...
        • groups in the sidebar
        • tenants in the sidebar
      • In Admin, edit a group and click on...
        • users in the sidebar
        • groups in the sidebar
      • In Admin, edit a tenant and click on...
        • users in the sidebar
        • groups in the sidebar

      Problem #4: In Cockpit, in case of failure of suspending / activating a job, error message is not shown properly
      Problem #5: In Cockpit, on inspecting a variable, variable name is not shown in title of dialog

      Observed behavior
      Re #1: Counts in headlines are not shown
      Re #2: Date is not shown in confirmation view after submitting the form
      Re #3

      • For users & groups: In the headline, first and last name is not shown
      • For users, groups & tenant: If no user/group/tenant is available, first and last name is not shown

      Expected behvaior
      Re #1: Counts in headline is show
      Re #2: Date is shown in confirmation view after submitting the form
      Re #3

      • For users & groups: In the headline, first and last name is shown
      • For users, groups & tenant: If no user/group/tenant is available, first and last name is shown

      Root cause
      Please see: https://github.com/angular-translate/angular-translate/issues/1085#issuecomment-116785207

      Further reading
      https://angular-translate.github.io/docs/#/guide/06_variable-replacement

        This is the controller panel for Smart Panels app

          1. cockpit-translation.png
            80 kB
            Roman Smirnov
          2. image.png
            149 kB
            Tassilo Weidner-Mühl
          3. image.png
            66 kB
            Tassilo Weidner-Mühl
          4. image.png
            121 kB
            Tassilo Weidner-Mühl
          5. image.png
            106 kB
            Tassilo Weidner-Mühl
          6. image.png
            106 kB
            Tassilo Weidner-Mühl
          7. image.png
            91 kB
            Tassilo Weidner-Mühl
          8. image.png
            89 kB
            Tassilo Weidner-Mühl

              Assignee:
              Michael Schoettes
              Reporter:
              Tassilo Weidner-Mühl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: