SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001943ClearOSapp-users - User Managerpublic2014-09-02 09:512014-12-23 16:15
Reporterbchambers 
Assigned Touser2 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.6.0 Beta 2 
Target VersionFixed in Version6.6.0 Beta 2 
Summary0001943: Editing of users not possible
DescriptionVersion 1.0.6-1 of app-users in updates-testing repo sets 'no_action' option for a licensing warning (eg. 2 Zarafa CAL remaining), but does not unset this parameter when used again for the users table.

This prevents the Edit/Delete buttons from displaying.

I doubt this was intended behaviour. Unset these variables after use:

if (!empty($warning_items)) {
        // TODO: a nice warning icon would be nice
        $headers = array(
            lang('base_app'),
            lang('base_subscription')
        );

        $options['default_rows'] = 50;
        $options['sort'] = FALSE;
        $options['no_action'] = TRUE;

        echo summary_table(
            lang('base_subscription_warnings'),
            array(),
            $headers,
            $warning_items,
            $options
        );
        unset($options); // <------------ NEW
    }

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001288)
user2
2014-09-02 11:31

It looks like this was one fix that was missed in the SVN to GIT conversion. This was already fixed in SVN: http://code.clearfoundation.com/svn/diff.php?repname=ClearOS&path=%2Fwebconfig%2Fapps%2Fusers%2Ftrunk%2Fviews%2Fsummary.php&rev=6805&peg=6805 [^]

The bug only exists "updates-testing" (6.6.0 Beta 1)

- Issue History
Date Modified Username Field Change
2014-09-02 09:51 bchambers New Issue
2014-09-02 11:31 user2 Note Added: 0001288
2014-09-02 11:31 user2 Status new => confirmed
2014-09-02 11:31 user2 Product Version 6.5.0 Updates => 6.6.0 Beta 2
2014-09-02 11:32 user2 Status confirmed => resolved
2014-09-02 11:32 user2 Fixed in Version => 6.6.0 Beta 2
2014-09-02 11:32 user2 Resolution open => fixed
2014-09-02 11:32 user2 Assigned To => user2
2014-12-23 16:15 user2 Status resolved => closed

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7