"Mark all as read" doesn't work
Reported by Rick Guyer | April 14th, 2010 @ 06:44 PM | in 1.10
20Couch: Version 1.05 (no plugins installed)
Browsers: tested in Chrome 5.0.371.0 dev and Firefox 3.5.9
What I did:
1. Viewed a list of tweets
2. Clicked the "Mark all as read" button
What happened:
1. "Marking as read..." notification displayed at the top
2. All 19 tweets in the list disappeared
3. That's it
What I expected:
1. Expected the counter for the list (in the left column) to reset
to zero, but it remained at 19
2. Expected to see "You have no unread items" box to show up in the
list column, but column remained blank
Notes:
1. I have been able to reproduce this bug on All Items, an Account
list, and a Tag list.
2. Going back to the list later reveals all the tweets. They didn't
get marked as read.
Comments and changes to this ticket
-

Gustavo Carreno April 14th, 2010 @ 07:01 PM
- Tag set to bug
- Assigned user set to Matt Curry
I'm using MySQL 5.1.44-community on Windows + PHP 5.3.2 + Apache 2.2.something and I do not have that issue.
-

-

Rick Guyer April 28th, 2010 @ 03:03 AM
I'm still seeing this on v1.09. I'm not getting any javascript errors. If I click the dropdown arrow and select "all items", "All items older than 6 hours", etc it will mark the appropriate items as read and update the list. But if I simply click on the "Mark all as read" button itself it does as described above.
-

Matt Curry April 28th, 2010 @ 04:07 AM
I use both FF and Chrome, although slightly different versions. Can you capture the ajax request in firebug and paste the request and response here?
-

Rick Guyer April 28th, 2010 @ 04:08 AM
A correction from my last comment. If I'm in the "All items" list none of the dropdown options work either.
-

Rick Guyer April 28th, 2010 @ 04:12 AM
Ohhh, it's a path issue. I have 20couch installed at http://rickguyer.com/20couch and the ajax call is returning a 404. It is attempting to hit this URL:
http://rickguyer.com/items/mark_as_read/provider_id:3?_=1272427771432
I'm guessing it should be something like:
http://rickguyer.com/20couch/items/mark_as_read/provider_id:3?_=127...
-

Matt Curry April 28th, 2010 @ 04:13 AM
- Milestone set to 1.10
- State changed from new to open
Thanks. I should be able to fix. I set the base path to a JS var...just need to add that before the link.
-

Matt Curry May 6th, 2010 @ 03:16 AM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป