Zivios Mail module sends incorrect case for directive lookup

Bug #383080 reported by Mustafa A. Hashmi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zivios Open Source Enterprise Management
Fix Committed
Undecided
Faraz Khan

Bug Description

The mail module on communication with Zivios agent sends distribution ID as 'ubuntu-hardy', whereas it should be 'Ubuntu-Hardy'.

Name case convention needs to fixed; the first letter of distro / release is upper case with all remaining chars being lowercase.

Something like the following would be required:

$distroid = ucfirst(strtolower($distro)) . '-' . ucfirst(strtolower($release));

Note: the agent side mail module shows the correct case -- one has to modify it manually (to lower case) for the web panel to look it up.

Revision history for this message
Mustafa A. Hashmi (mhashmi) wrote :

Fix has been committed. Agent configuration during server add was calling getComputerDistroId() which has since been modified to return a lower-case string. All agent configuration files have been updated and pushed to agent trunk.

Changed in zivios:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.