Home My Page Projects FusionForge
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files Mediawiki Hudson oslc

[#335] cannot switch projekt state Public? in groupedit(.php) and cannot sort by Public? in grouplist(.php)

**************** Fusionforge patch policy is available on our wiki (https://fusionforge.org/plugins/mediawiki/wiki/fusionforge/index.php/Patch_Policy). Please follow the rules before submitting your patch. ****************
Date:
2011-09-27 15:17
Priority:
3
State:
Closed
Submitted by:
Mathias Gebbe (mgebbe)
Assigned to:
Franck VILLAUME (nerville)
Resolution:
Out of Date
Base branch:
None
Target Release:
None
Summary:
cannot switch projekt state Public? in groupedit(.php) and cannot sort by Public? in grouplist(.php)

Detailed description
Hi!

if i switch the state of "Public?" in the project-overview to YES or the other way around to NO and then apply with "Update" FusionForge does not update the database value. I try it on my installation (debian wheezy, PostgreSQL,FusionForge(testing)) and also on the demosite: http://fusionforgedemo.no-ip.org/admin/grouplist.php [user: admin pass: admin] where you can try to change the state of one project in groupedit.php. Also it is not possible to sort by "Public?" in the overview.

so i patch this for the files

/usr/share/gforge/common/include/Group.class.php and /usr/share/gforge/www/admin/grouplist.php

but in the sortorder there are still some mistakes...





Followups: Sort comments antichronologically

Message
Date: 2011-10-18 12:32
Sender: Mathias Gebbe

by the way there are created some entrys in the project history if you switch the public state

Field Old Value Date By
Added User admin 2011-10-18 12:28 admin
Date: 2011-10-18 13:29
Sender: Mathias Gebbe

patch was swapped...
Date: 2012-10-28 10:05
Sender: Franck VILLAUME

Need to be validate on current development branch
Date: 2013-04-28 13:19
Sender: Franck VILLAUME

Thank for your patch but the is_public flag has been dropped.
If you think the patch is still valid or the feature is still needed, please reopen a patch or a feature request.

Attached Files:

Attachments:
Size Name Date By Download
2 KiBGroup.class.php.patch2011-09-27 15:17mgebbeGroup.class.php.patch
2 KiBgrouplist.php.patch2011-09-27 15:17mgebbegrouplist.php.patch
2 KiBGroup.class.php.patch2011-10-18 13:29mgebbeGroup.class.php.patch

Changes:

Field Old Value Date By
status_idOpen2013-04-28 13:19nerville
close_dateNone2013-04-28 13:19nerville
assigned_tonone2013-04-28 13:19nerville
ResolutionNone2013-04-28 13:19nerville
Target Releasemaster2013-04-27 12:35nerville
Target branch5.12012-10-28 10:05nerville
File Added206: Group.class.php.patch2011-10-18 13:29mgebbe
File Added202: Group.class.php.patch2011-09-27 15:17mgebbe
File Added203: grouplist.php.patch2011-09-27 15:17mgebbe