Bug in ocs_agent_configPane.m

Bug #879487 reported by Andreas Xenos
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OCS Inventory: Unified Unix Agent
Fix Released
High
mortheres

Bug Description

Hello,

in the ocs_agent_configPane.m file, there is an if statement that checks if the ocsinventory-agent.cfg file exists in the /etc/ocsinventory-agent/ directory.

The [cfgFileExistsWrn release]; command is now outside the brackets of the if statement, which crashes the installer in the case that the file does not exist in there.

It happened when I modified the source code and re-built my own bundle file.

I put the release command inside the if statement and the problem is solved.

Cheers,
Andreas

Revision history for this message
mortheres (mortheres) wrote :

Hi Andreas,

Thanks a lot for your report and your proposal. It have been commited at revision 1066 of the ocsinventory-unix-agent/stable-2.0 branch : http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-unix-agent/stable-2.0/revision/1066 . It will be included in the next OCS MacOSX agent release :) :).

Kind regards,

Guillaume

Changed in ocsinventory-unix-agent:
importance: Undecided → High
assignee: nobody → mortheres (mortheres)
status: New → Fix Committed
mortheres (mortheres)
Changed in ocsinventory-unix-agent:
milestone: none → 2.0.3
Revision history for this message
mortheres (mortheres) wrote :

Hi,

This is a link to download OCS MacOSX agent beta3 prelease: http://download.ocsinventory-ng.org/pub/MacOSX/Ocsinventory_Agent_MacOSX_beta3pre.pkg.zip .

You can use this package only for tests to see if it solves installer problem.

KInd regards,

Guillaume

Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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