Bug in News module 2.2. (CMS 1.0.7)?? [solved]

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
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Bug in News module 2.2. (CMS 1.0.7)?? [solved]

Post by saltydog »

I have recently update to cms 1.0.7 and I am experiencing a strange behabiour on news module. All users but the admin cannot "Publish" anymore the news! The combobox "Draft | Publish" is not displayed anymore at the end of the News page. Only admin can do that.

Is there any new permission to set?
Last edited by Anonymous on Sat Jun 23, 2007 7:06 pm, edited 1 time in total.
mccord42
Forum Members
Forum Members
Posts: 23
Joined: Thu Jun 22, 2006 12:07 am

Re: Bug in News module 2.2. (CMS 1.0.7)??

Post by mccord42 »

I am definitely seeing the same behavior.  This is definitely a problem.  Anyone have a fix yet?
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: Bug in News module 2.2. (CMS 1.0.7)??

Post by stopsatgreen »

You should file this as a bug in the Forge:

http://dev.cmsmadesimple.org/tracker/?a ... unc=browse
mccord42
Forum Members
Forum Members
Posts: 23
Joined: Thu Jun 22, 2006 12:07 am

Re: Bug in News module 2.2. (CMS 1.0.7)??

Post by mccord42 »

stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: Bug in News module 2.2. (CMS 1.0.7)??

Post by stopsatgreen »

I have the same problem. This is fairly urgent now.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Bug in News module 2.2. (CMS 1.0.7)??

Post by calguy1000 »

Yeah, this is a bug.... there will probably be a 1.0.9 to fix this.

The bug is fixed in svn, it's a commit that was missed.

Essentially, there's the 'Approve News' permission that's missing from the install and upgrade methods.
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.
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Bug in News module 2.2. (CMS 1.0.7)??

Post by saltydog »

Lexus wrote:

Do you have a date planned for release 1.0.9? Now I have problems with customers who can't publish items, monday i go on holiday so i hope a new release is coming very soon  ::)
1.0.8 is out, but the bug is still there!!
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Bug in News module 2.2. (CMS 1.0.7)??

Post by Elijah Lofgren »

Lexus wrote:
calguy1000 wrote: Yeah, this is a bug.... there will probably be a 1.0.9 to fix this.

The bug is fixed in svn, it's a commit that was missed.

Essentially, there's the 'Approve News' permission that's missing from the install and upgrade methods.
Do you have a date planned for release 1.0.9? Now I have problems with customers who can't publish items, monday i go on holiday so i hope a new release is coming very soon  ::)
I ran into this too, what I did to work around this problem was this:
1. Open modules/News/action.defaultadmin.php
2. Find (1st 2 lines):

Code: Select all

<?php
if (!isset($gCms)) exit;
3. After add this line:

Code: Select all

$this->CreatePermission('Approve News', 'Approve News For Frontend Display');
so that it looks like this:

Code: Select all

<?php
if (!isset($gCms)) exit;
$this->CreatePermission('Approve News', 'Approve News For Frontend Display');
4. Go to "Content -> News".
5. Go to "Users & Groups » Group Permissions"
6. Select  "Admin" Group (or whatever your user group is).
7. Check box next to "Approve News For Frontend Display" and click "Submit"
8. Delete the line added from  modules/News/action.defaultadmin.php because now that the permission is added, the line is no longer needed.

Hope this helps,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Bug in News module 2.2. (CMS 1.0.7)??

Post by saltydog »

It works!

Thank you very much Elijah!
DeKemp

Re: Bug in News module 2.2. (CMS 1.0.7)?? [solved]

Post by DeKemp »

Brilliant.
Had the problem yesterday.
Registered on the forum less than hour ago.
Second search result delivers, great!

Next task, migrate 1.0.8 to 1.1 (2times)
If as smooth, then very happy.
Last edited by DeKemp on Wed Aug 08, 2007 3:26 pm, edited 1 time in total.
Post Reply

Return to “CMSMS Core”