Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-7011

[jb] Js error on workflow with task without a startTime

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0
    • Component/s: app.jobbrowser
    • Labels:
      None

      Description

      With a Pig script doing 'ls' and opening page:

      https://github.com/cloudera/hue/commit/fe5bd8cc68e2c8534de43d12920a94d9a8b34e2f

      Uncaught SyntaxError: Unable to process binding "with: function (){return $root.job() }"
      Message: Unable to process binding "if: function (){return mainType() =='workflows' }"
      Message: Unable to process binding "if: function (){return type() =='workflow' }"
      Message: Unable to process binding "template: function (){return { name:'workflow-page'} }"
      Message: Unable to process binding "foreach: function (){return properties['actions'] }"
      Message: Unable to parse bindings.
      Bindings value: text: moment: {data: startTime, format: 'LLL'}
      Message: Unexpected token :
          at new Function (<anonymous>)
          at t (knockout-latest.debug.js:2936)
          at e (knockout-latest.debug.js:2927)
          at y.bindingProvider.parseBindingsString (knockout-latest.debug.js:2913)
          at y.bindingProvider.getBindingAccessors (knockout-latest.debug.js:2895)
          at y.dependentObservable.disposeWhenNodeIsRemoved (knockout-latest.debug.js:3245)
          at Function.evaluateImmediate_CallReadThenEndDependencyDetection (knockout-latest.debug.js:2142)
          at Function.evaluateImmediate_CallReadWithDependencyDetection (knockout-latest.debug.js:2114)
          at Function.evaluateImmediate (knockout-latest.debug.js:2078)
          at Object.y.computed.y.dependentObservable (knockout-latest.debug.js:1939)
      

        Attachments

          Activity

            People

            • Assignee:
              enricoberti Enrico Berti
              Reporter:
              romain Romain Rigaux
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: