Page 1 of 1
Bug in News module 2.2. (CMS 1.0.7)?? [solved]
Posted: Mon Jun 18, 2007 9:48 am
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?
Re: Bug in News module 2.2. (CMS 1.0.7)??
Posted: Mon Jun 18, 2007 12:21 pm
by mccord42
I am definitely seeing the same behavior. This is definitely a problem. Anyone have a fix yet?
Re: Bug in News module 2.2. (CMS 1.0.7)??
Posted: Mon Jun 18, 2007 12:47 pm
by stopsatgreen
Re: Bug in News module 2.2. (CMS 1.0.7)??
Posted: Mon Jun 18, 2007 1:15 pm
by mccord42
Re: Bug in News module 2.2. (CMS 1.0.7)??
Posted: Tue Jun 19, 2007 10:41 pm
by stopsatgreen
I have the same problem. This is fairly urgent now.
Re: Bug in News module 2.2. (CMS 1.0.7)??
Posted: Tue Jun 19, 2007 10:57 pm
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.
Re: Bug in News module 2.2. (CMS 1.0.7)??
Posted: Sat Jun 23, 2007 2:05 pm
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!!
Re: Bug in News module 2.2. (CMS 1.0.7)??
Posted: Sat Jun 23, 2007 6:40 pm
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):
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
Re: Bug in News module 2.2. (CMS 1.0.7)??
Posted: Sat Jun 23, 2007 6:58 pm
by saltydog
It works!
Thank you very much Elijah!
Re: Bug in News module 2.2. (CMS 1.0.7)?? [solved]
Posted: Wed Aug 08, 2007 3:24 pm
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.