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 06635200C3F for ; Wed, 22 Mar 2017 12:50:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 04E12160B91; Wed, 22 Mar 2017 11:50:49 +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 F033E160B83 for ; Wed, 22 Mar 2017 12:50:47 +0100 (CET) Received: (qmail 92329 invoked by uid 500); 22 Mar 2017 11:50:47 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 92315 invoked by uid 99); 22 Mar 2017 11:50:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Mar 2017 11:50:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C0BA7180DF8 for ; Wed, 22 Mar 2017 11:50:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.299 X-Spam-Level: X-Spam-Status: No, score=-98.299 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LOTSOFHASH=0.25, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ujrMR3RUcfgd for ; Wed, 22 Mar 2017 11:50:44 +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 4B7E05FCD3 for ; Wed, 22 Mar 2017 11:50:44 +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 7498CE05AE for ; Wed, 22 Mar 2017 11:50:43 +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 8FAF524D34 for ; Wed, 22 Mar 2017 11:50:42 +0000 (UTC) Date: Wed, 22 Mar 2017 11:50:42 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CONNECTORS-1196) Proposal to update Manifold Crawler UI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 22 Mar 2017 11:50:49 -0000 [ https://issues.apache.org/jira/browse/CONNECTORS-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15936165#comment-15936165 ] Karl Wright edited comment on CONNECTORS-1196 at 3/22/17 11:49 AM: ------------------------------------------------------------------- I just got another odd failure, this time for the Kafka connector. The connector itself seems to have thrown a RuntimeException when displaying the status of the output connection (a different problem which I'll chase down shortly). After that, however, the UI proceeded as it should have, but failed with this error: {code} [junit] Testcase: createConnectionsAndJob(org.apache.manifoldcf.agents.output.kafka.NavigationHSQLDBUI): Caused an ERROR [junit] stale element reference: element is not attached to the page document [junit] (Session info: chrome=56.0.2924.87) [junit] (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information) [junit] Command duration or timeout: 10 milliseconds [junit] For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html [junit] Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03-10 09:10:29 +0000' [junit] System info: host: 'B3NGYY1', ip: '10.222.203.174', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_05' [junit] Driver info: org.openqa.selenium.chrome.ChromeDriver [junit] Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.28.455520 (cc17746adff54984afff480136733114c6b3704b), userDataDir=C:\Users\kawright\AppData\Local\Temp\scoped_dir7164_5}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=56.0.2924.87, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}] [junit] Session ID: ad8a9f10369d041042a1078ce3d52a31 [junit] org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document [junit] (Session info: chrome=56.0.2924.87) [junit] (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information) [junit] Command duration or timeout: 10 milliseconds [junit] For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html [junit] Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03-10 09:10:29 +0000' [junit] System info: host: 'B3NGYY1', ip: '10.222.203.174', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_05' [junit] Driver info: org.openqa.selenium.chrome.ChromeDriver [junit] Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.28.455520 (cc17746adff54984afff480136733114c6b3704b), userDataDir=C:\Users\kawright\AppData\Local\Temp\scoped_dir7164_5}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=56.0.2924.87, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}] [junit] Session ID: ad8a9f10369d041042a1078ce3d52a31 [junit] at java.lang.reflect.Constructor.newInstance(Constructor.java:408) [junit] at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216) [junit] at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168) [junit] at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:638) [junit] at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:274) [junit] at org.openqa.selenium.remote.RemoteWebElement.getAttribute(RemoteWebElement.java:126) [junit] at org.apache.manifoldcf.core.tests.SeleniumTester.hasClass(SeleniumTester.java:472) [junit] at org.apache.manifoldcf.core.tests.SeleniumTester.selectValue(SeleniumTester.java:439) [junit] at org.apache.manifoldcf.agents.output.kafka.NavigationHSQLDBUI.createConnectionsAndJob(NavigationHSQLDBUI.java:106) {code} The line it failed on was: {code} testerInstance.selectValue("connectionname","MyRepositoryConnection"); {code} ... while setting up a job. Revision: I found the problem, but I don't have a solution. Note the following complaint from Kafka: {code} [junit] Caused by: java.lang.IllegalArgumentException: port out of range:90929092 {code} This is a result of the tester trying to set the value in a UI field but there being a value already there. When that's the case we get TWO values concatenated. Is this something that's easy to fix? was (Author: kwright@metacarta.com): I just got another odd failure, this time for the Kafka connector. The connector itself seems to have thrown a RuntimeException when displaying the status of the output connection (a different problem which I'll chase down shortly). After that, however, the UI proceeded as it should have, but failed with this error: {code} [junit] Testcase: createConnectionsAndJob(org.apache.manifoldcf.agents.output.kafka.NavigationHSQLDBUI): Caused an ERROR [junit] stale element reference: element is not attached to the page document [junit] (Session info: chrome=56.0.2924.87) [junit] (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information) [junit] Command duration or timeout: 10 milliseconds [junit] For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html [junit] Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03-10 09:10:29 +0000' [junit] System info: host: 'B3NGYY1', ip: '10.222.203.174', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_05' [junit] Driver info: org.openqa.selenium.chrome.ChromeDriver [junit] Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.28.455520 (cc17746adff54984afff480136733114c6b3704b), userDataDir=C:\Users\kawright\AppData\Local\Temp\scoped_dir7164_5}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=56.0.2924.87, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}] [junit] Session ID: ad8a9f10369d041042a1078ce3d52a31 [junit] org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document [junit] (Session info: chrome=56.0.2924.87) [junit] (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information) [junit] Command duration or timeout: 10 milliseconds [junit] For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html [junit] Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03-10 09:10:29 +0000' [junit] System info: host: 'B3NGYY1', ip: '10.222.203.174', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_05' [junit] Driver info: org.openqa.selenium.chrome.ChromeDriver [junit] Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.28.455520 (cc17746adff54984afff480136733114c6b3704b), userDataDir=C:\Users\kawright\AppData\Local\Temp\scoped_dir7164_5}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=56.0.2924.87, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}] [junit] Session ID: ad8a9f10369d041042a1078ce3d52a31 [junit] at java.lang.reflect.Constructor.newInstance(Constructor.java:408) [junit] at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216) [junit] at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168) [junit] at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:638) [junit] at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:274) [junit] at org.openqa.selenium.remote.RemoteWebElement.getAttribute(RemoteWebElement.java:126) [junit] at org.apache.manifoldcf.core.tests.SeleniumTester.hasClass(SeleniumTester.java:472) [junit] at org.apache.manifoldcf.core.tests.SeleniumTester.selectValue(SeleniumTester.java:439) [junit] at org.apache.manifoldcf.agents.output.kafka.NavigationHSQLDBUI.createConnectionsAndJob(NavigationHSQLDBUI.java:106) {code} The line it failed on was: {code} testerInstance.selectValue("connectionname","MyRepositoryConnection"); {code} ... while setting up a job. > Proposal to update Manifold Crawler UI > -------------------------------------- > > Key: CONNECTORS-1196 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1196 > Project: ManifoldCF > Issue Type: Improvement > Components: Framework core > Affects Versions: ManifoldCF next > Reporter: Kishore Kumar > Assignee: Kishore Kumar > Fix For: ManifoldCF next > > Attachments: Bandwidth Report.png, Index.jsp.png, List Repository.png, Report.png, View.png > > > Hi, > I have been working on a new User Interface for ManifoldCF. > This UI is based on Bootstrap, jQuery and some other opensource scripts. > Only the index.jsp will be loaded once and other page are rendered using AJAX call, making it more responsive and modern. > Please find the attached screenshots. > *Backward compatibility:* > Since most of our tab comes from connectors, those tabs will be displayed as it is with no immediate attention required. (see sample screenshot attached) > *What next?* > In future we can add Charts to our reports where ever applicable, so that it will be more user friendly & informative for end users. > Can make use of Web socket to notify exception or error to users as Notifications. > *Browser compatibility* > Has been tested with most latest browser and IE10, will try to add support for IE8 with acceptable degradation. > Any suggestion, concern much appreciated. -- This message was sent by Atlassian JIRA (v6.3.15#6346)