[ 
https://issues.apache.org/jira/browse/AMBARI-14507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15086515#comment-15086515
 ] 

Hudson commented on AMBARI-14507:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.2 #151 (See 
[https://builds.apache.org/job/Ambari-branch-2.2/151/])
AMBARI-14507. Attempt to Open a Saved Query Returns Unexpected Results. 
(yusaku: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=21672e471ddd7559f4c75e10b6037eaf9ffbb5cb])
* 
contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/savedQueries/SavedQueryResourceManager.java
* 
contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/open-queries.js


> Attempt to Open a Saved Query Returns Unexpected Results
> --------------------------------------------------------
>
>                 Key: AMBARI-14507
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14507
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.1.2
>            Reporter: DIPAYAN BHOWMICK
>            Assignee: DIPAYAN BHOWMICK
>             Fix For: 2.2.1
>
>         Attachments: AMBARI-14507_branch-2.2.patch
>
>
> 1. In Hive View, click Saved Queries
> 2. Click a query to open in Hive Query View
> 3. Modify the query
> 4. Execute the query
> 5. Click Saved Queries 
> 6. Click the same query to reopen the original query
> A new tab is created in Hive Query View with the query as modified in step 3 
> rather than the original query.
> To retrieve the saved query, one must reload Hive Query View in the browser 
> to retrieve it.
> Preferred behavior:
> 1. In Hive View, click Saved Queries
> 2. Click a query to open in Hive Query View
> 3. Modify the query
> 4. Execute the query
> 5. Click Saved Queries 
> 7. A dialog box should appear with the message and 3 buttons, Save As, 
> Replace, Discard Changes:
> Query has been changed. Save changes?
> Save As ... Replace Discard Changes
> Save As should prompt for a name, replace should overwrite the existing file, 
> and discard should close the existing query tab.
> The Saved Queries View should then open.
> 6. Click the same query to reopen the original query 
> 7. A new tab with the saved query should be opened



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to