Problem with News pagination (CMSMS 2.0.1.1)

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
caciavar
Forum Members
Forum Members
Posts: 64
Joined: Wed Feb 11, 2009 6:30 pm

Problem with News pagination (CMSMS 2.0.1.1)

Post 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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Problem with News pagination (CMSMS 2.0.1.1)

Post by velden »

Can confirm this behavior BUT 'View Filter' -> 'Reset' stops filtering and brings back articles in my case.
caciavar
Forum Members
Forum Members
Posts: 64
Joined: Wed Feb 11, 2009 6:30 pm

Re: Problem with News pagination (CMSMS 2.0.1.1)

Post 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.
caciavar
Forum Members
Forum Members
Posts: 64
Joined: Wed Feb 11, 2009 6:30 pm

Re: Problem with News pagination (CMSMS 2.0.1.1)

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Problem with News pagination (CMSMS 2.0.1.1)

Post by calguy1000 »

it's fixed in svn, thanks.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
caciavar
Forum Members
Forum Members
Posts: 64
Joined: Wed Feb 11, 2009 6:30 pm

Re: Problem with News pagination (CMSMS 2.0.1.1)

Post by caciavar »

Awesome! Thank you.
Post Reply

Return to “CMSMS Core”