Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate questions added to list #1

Open
iamleeg opened this issue Jan 15, 2012 · 0 comments · May be fixed by #2
Open

Duplicate questions added to list #1

iamleeg opened this issue Jan 15, 2012 · 0 comments · May be fixed by #2
Assignees

Comments

@iamleeg
Copy link
Owner

iamleeg commented Jan 15, 2012

Summary: As mentioned in the book, there's a bug in the way questions are added to a topic. The same question can appear in a topic's list of questions multiple times, pushing older questions off the list.

Steps to reproduce:

  1. Launch app.
  2. Go to the 'iPhone' topic.
  3. Wait for questions to load.
  4. Go 'back' to the topic list.
  5. Go to the 'iPhone' topic again.

Expected results:

6a. Any new questions in this topic are fetched and added to the list, and remaining spaces are occupied by existing questions.

Actual results:

6b. The newest 25 questions in this topic are fetched and added to the list, even if some of them are already present. For those that were present, there are now two copies of the question in the list.

Regression:

Not applicable, as this is the first release.

Notes:

Readers might like to fork the project and fix this issue using a test-driven approach.

@ghost ghost assigned iamleeg Jan 15, 2012
@iamleeg iamleeg linked a pull request May 28, 2012 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant