Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
By amarkoli
#425
Hi all,

I have cats Version 0.9.1 (Beas) installed, but its having some bugs in displaying graph, in the job order pipeline graph the bars are not displayed properly, even if the bar has low value, its goes up above the highest value. hope i am sounding clear. attaching a image for referral. the problem seems to be with the declined bar.

there are many more bugs issue i want to ask, rest latter.

thanks in advance
Attachments
joborderPipeline.jpg
joborderPipeline.jpg (20.77 KiB) Viewed 5043 times
User avatar
By RussH
#426
I'll take a look at this - but we're a community of users primarily - but if it's been reported before we'll find it!

I know that one of the issues fixed in version 0.9.1 was that the graphs failed to display correctly in earlier versions - can you confirm which version you're running? I suspect it'll be an issue in modules/graphs/GraphsUI.php

Also - am just setting up a bug tracker so that we can collate any ongoing issues - could you add in your other bugs there?

http://www.opencats.org/bugtrack/

Thx,

Russ
By amarkoli
#428
hi,

i am using Version 0.9.1 (Beas) (this is shown on the login page). CATS is used in our company by the HR persons, and i have been given the task to fix some bugs and issues in the same. i dont know php much, but i do understand the code a bit.
User avatar
By RussH
#429
Okay, looks like the array has an error in it - I'll have to log onto my test system to play - as I'm not going to change this on our production instance!

questionable code shown below;
Code: Select all
if ($this->width > 600)
        {
            $y = array(
                "Total Pipeline",
                "Contacted",
                "Cand Replied",
                "Qualifying",
                "Submitted",
                "Interviewing",
                "Offered",
                "Declined",
                "Placed"
            );
        }
        else
        {
            $y = array(
                "Total Pipeline",
                "|Contacted",
                "Cand Replied",
                "|Qualifying",
                "Submitted",
                "|Interviewing",
                "Offered",
                "|Declined",
                "Placed"
            );
        }

        $x[8] = $statisticsData['placed'];
        $x[7] = $statisticsData['passedOn'];
        $x[6] = $statisticsData['offered'] + $x[8];
        $x[5] = $statisticsData['interviewing'] + $x[6];
        $x[4] = $statisticsData['submitted'] + $x[5];
        $x[3] = $statisticsData['qualifying'] + $x[4];
        $x[2] = $statisticsData['replied'] + $x[3];
        $x[1] = $statisticsData['contacted'] + $x[2];
        $x[0] = $statisticsData['totalPipeline'];
By amarkoli
#430
i had made some changes in that array, i dont want the add up, i want the exact count, so i am not adding the value. the change code looks like this. is this causing the problem, and how should i fix this, i dont want the add up.
Code: Select all
$x[8] = $statisticsData['placed'];
$x[7] = $statisticsData['passedOn'];
$x[6] = $statisticsData['offered'];
$x[5] = $statisticsData['interviewing'];
$x[4] = $statisticsData['submitted'];
$x[3] = $statisticsData['qualifying'];
$x[2] = $statisticsData['replied'];
$x[1] = $statisticsData['contacted'];
$x[0] = $statisticsData['totalPipeline'];

It's essential to keep these synchronized to ensur[…]

Export part in Job Order order search

Same problem as mine. Maybe you're right, I'll che[…]

The error message you're encountering indicates th[…]

Errors restoring mysqldump backup

doesnot work for me