Skip to content
Snippets Groups Projects

[Sprint/Votes](bug): Hard coded a stop for duplicate blog entries being added based on length

Closed Ben requested to merge benhayward.ben/mobile-native:duplicates-on-blogslist-mob into master
1 unresolved thread

minds#219 (closed)

Is the data held in response.entities here the full list of entries to be displayed regardless of which tab it is on? For example, if it only grabs 64 entries at a time, and then another call is made later for the next entries [65-128], this will not work.

Merge request reports

Pipeline #52418970 passed

Pipeline passed for 8c647730 on benhayward.ben:duplicates-on-blogslist-mob

Closed by BenBen 5 years ago (Jul 28, 2019 7:37pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
30 30 response.entities.shift();
31 31 }
32 32 response.entities = BlogModel.createMany(response.entities);
33 if(response.entities.length === this.list.entities.slice(0).length) return;
  • Updated to match but now only the first batch load, and the FlatList is huge (or the visible container atleast). Is there anything you can think of that I could add into a conditional around the abort? Not quite sure of what I have a hold of in scope in the service.

  • No longer occuring.

  • closed

  • Please register or sign in to reply
    Loading