atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayub Pathan (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ATLAS-2128) UI Regression : DSL Results pagination doesn't spawn more than 2 pages
Date Mon, 11 Sep 2017 10:03:02 GMT

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

Ayub Pathan edited comment on ATLAS-2128 at 9/11/17 10:02 AM:
--------------------------------------------------------------

Looks like, this issue is introduced as part of https://github.com/apache/atlas/commit/d0beadf2e4a83bce17b8c42e7a584a035cf416c2
this commit.

To be more precise, this line might be causing the issue.: https://github.com/apache/atlas/blob/master/dashboardv2/public/js/views/search/SearchResultLayoutView.js#L366
{code}
                        if (!model.entities && that.offset > that.limit) {
                            that.ui.nextData.attr('disabled', true);
                            that.offset = that.offset - that.limit;
                            that.hideLoader();
                            return;
                        }
{code}

CC [~kevalbhatt]


was (Author: ayubkhan):
This issue is introduced as part of https://github.com/apache/atlas/commit/d0beadf2e4a83bce17b8c42e7a584a035cf416c2
this commit.

To be more precise, this line might be causing the issue.: https://github.com/apache/atlas/blob/master/dashboardv2/public/js/views/search/SearchResultLayoutView.js#L366
{code}
                        if (!model.entities && that.offset > that.limit) {
                            that.ui.nextData.attr('disabled', true);
                            that.offset = that.offset - that.limit;
                            that.hideLoader();
                            return;
                        }
{code}

CC [~kevalbhatt]

> UI Regression : DSL Results pagination doesn't spawn more than 2 pages
> ----------------------------------------------------------------------
>
>                 Key: ATLAS-2128
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2128
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-webui
>    Affects Versions: 0.9-incubating, 0.8.1-incubating
>            Reporter: Sharmadha Sainath
>            Priority: Blocker
>
> 1. Created 300 hive_tables.
> 2. On Basic Search in UI , fired search typename= hive_table
> 3. hive_table results were fetched across 12 pages - 25 entities in each page - which
is the correct behavior.
> 4.On Advanced Search in UI , fired search typename = hive_table
> *          In the 1st page , 1- 25 results were shown.
> *          On clicking next , in the 2nd page , 26 - 50 results were shown
> *          On  clicking next , Expected to land in 3rd page with 51 - 75 results , but
, 26-50 results were loaded again and the Next Button was disabled.
> Calls made to the Atlas backend seem to be correct. On clicking "Next" each time , correct
set of results were fetched. For example , call was made to fetch entities from offset 50
, limit = 25 , but the UI still showed 26-50 results and disabled "Next" button.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message