[ 
https://issues.apache.org/jira/browse/AMBARI-20003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gaurav Nagar updated AMBARI-20003:
----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to branch-2.5 and trunk.

> Not able to preview the workflow xml
> ------------------------------------
>
>                 Key: AMBARI-20003
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20003
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.5.0
>            Reporter: Supreeth Sharma
>            Assignee: Padma Priya Nagaraj
>            Priority: Critical
>              Labels: WFD, WFM
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-20003_trunk.patch
>
>
> Preview xml is failing and I am seeing below error in console.log :
> {code}
> Uncaught TypeError: Cannot read property 'length' of undefined
>     at n.validate 
> (http://172.27.44.87:8080/views/WORKFLOW_MANAGER/1.0.0/WFD/assets/oozie-designer-ef66fa01464545ddc3f5b0f360f1ea3c.js:7:13121)
>     at n.visitNode 
> (http://172.27.44.87:8080/views/WORKFLOW_MANAGER/1.0.0/WFD/assets/oozie-designer-ef66fa01464545ddc3f5b0f360f1ea3c.js:9:21574)
>     at 
> http://172.27.44.87:8080/views/WORKFLOW_MANAGER/1.0.0/WFD/assets/oozie-designer-ef66fa01464545ddc3f5b0f360f1ea3c.js:9:22050
>     at Array.forEach (native)
>     at n.visitNode 
> (http://172.27.44.87:8080/views/WORKFLOW_MANAGER/1.0.0/WFD/assets/oozie-designer-ef66fa01464545ddc3f5b0f360f1ea3c.js:9:22028)
>     at n.process 
> (http://172.27.44.87:8080/views/WORKFLOW_MANAGER/1.0.0/WFD/assets/oozie-designer-ef66fa01464545ddc3f5b0f360f1ea3c.js:9:19594)
>     at n.previewWorkflow 
> (http://172.27.44.87:8080/views/WORKFLOW_MANAGER/1.0.0/WFD/assets/oozie-designer-ef66fa01464545ddc3f5b0f360f1ea3c.js:3:27474)
>     at n.send 
> (http://172.27.44.87:8080/views/WORKFLOW_MANAGER/1.0.0/WFD/assets/vendor-c52dd73472b01fcbec62872ba470c597.js:15:25559)
>     at n [as send] 
> (http://172.27.44.87:8080/views/WORKFLOW_MANAGER/1.0.0/WFD/assets/vendor-c52dd73472b01fcbec62872ba470c597.js:11:18800)
>     at 
> http://172.27.44.87:8080/views/WORKFLOW_MANAGER/1.0.0/WFD/assets/vendor-c52dd73472b01fcbec62872ba470c597.js:13:10172
> {code}
> Steps to reproduce :
> 1) Import the attached workflow.
> 2) Try to preview the workflow.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to