Page 1 of 1

Problem with News pagination (CMSMS 2.0.1.1)

Posted: Sun Oct 18, 2015 2:57 am
by caciavar
These are the steps needed to re-create the issue.

1. I start by creating 11 news articles
2. Pagination is set to 10 articles per page in the filter
3. Go to page 2
4. Delete the 11th article (the only one on page 2)
5. After deleting, the page is refreshed with a "There are currently no news articles created".

-Navigating away from the news page does not cause the first 10 articles to re-appear.
-Clearing site cache does not cause the articles to re-appear
-Changing pagination to >10 articles per page does not cause the articles to re-appear

The only way to access the first 10 articles again is to re-create an 11th article. This will put you back on page 2.

Re: Problem with News pagination (CMSMS 2.0.1.1)

Posted: Sun Oct 18, 2015 12:10 pm
by velden
Can confirm this behavior BUT 'View Filter' -> 'Reset' stops filtering and brings back articles in my case.

Re: Problem with News pagination (CMSMS 2.0.1.1)

Posted: Sun Oct 18, 2015 11:22 pm
by caciavar
The filter doesn't always open after repeating the steps that I outlined. That issue seems to be the same as the one described here: http://forum.cmsmadesimple.org/viewtopi ... =8&t=73543

So at that point, the user's only recourse is to create an 11th article.

Re: Problem with News pagination (CMSMS 2.0.1.1)

Posted: Mon Oct 19, 2015 1:31 am
by caciavar
More info...

Just found that the page number is stored in a session cookie. If you were on page 2 when the last item of that page was deleted, you will stay on page 2 with the message "There are currently no news articles created", instead of being directed to the last (or previous) page that is populated with articles.

To add to my previous post. The options for the user at this point are to:

1. Use the filter reset (which is fixed in svn as per http://forum.cmsmadesimple.org/viewtopi ... =8&t=73543)
2. Destroy the session cookie by closing the browser and logging-in again
3. Add enough articles so that the current page being viewed (determined by session cookie) is populated with articles

Re: Problem with News pagination (CMSMS 2.0.1.1)

Posted: Mon Oct 19, 2015 3:00 am
by calguy1000
it's fixed in svn, thanks.

Re: Problem with News pagination (CMSMS 2.0.1.1)

Posted: Mon Oct 19, 2015 3:08 am
by caciavar
Awesome! Thank you.