Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B4519200C1C for ; Wed, 15 Feb 2017 11:16:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B2E89160B46; Wed, 15 Feb 2017 10:16:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0AAC6160B5E for ; Wed, 15 Feb 2017 11:16:44 +0100 (CET) Received: (qmail 41593 invoked by uid 500); 15 Feb 2017 10:16:44 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 41584 invoked by uid 99); 15 Feb 2017 10:16:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2017 10:16:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id ACBEAC144F for ; Wed, 15 Feb 2017 10:16:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[KAM_BADIPHTTP=2, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id SngyVcOczZrw for ; Wed, 15 Feb 2017 10:16:42 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 959AE5F613 for ; Wed, 15 Feb 2017 10:16:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0CE7EE02F7 for ; Wed, 15 Feb 2017 10:16:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BF6D224121 for ; Wed, 15 Feb 2017 10:16:41 +0000 (UTC) Date: Wed, 15 Feb 2017 10:16:41 +0000 (UTC) From: "Belliraj HB (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-20003) Not able to preview the workflow xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 15 Feb 2017 10:16:45 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Belliraj HB updated AMBARI-20003: --------------------------------- Status: Patch Available (was: Open) > 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)