Possible Bug.. Fixed

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
strandtc
Posts: 5
Joined: Fri Jun 25, 2010 6:51 pm

Possible Bug.. Fixed

Post by strandtc »

I think I found a bug.. checking here before officially submitting it.

I have a graph template that utilizes 3 data source templates that all use "Use Per-Data Source Value"s for both Name and OID. When I goto create the graph for a device, I expect the form to ask what the Name and OID should be, but I only get the Name field on the first data source, and the OIDs on all 3.

I found in html_form_template.php, in function draw_nontemplated_fields_data_source, it was missing a "reset($struct_data_source);" just before the main while loop. Now that I've added this reset, I get all 3 Name Fields and all 3 OID fields.

I have downloaded the latest release tar ball (0.8.7g) and I don't see a reset in that function there either. Anybody know if this was fixed already, or should I submit this?

Thanks,
-Chris
Deviloper
Cacti User
Posts: 256
Joined: Tue Jul 07, 2009 8:03 am

Re: Possible Bug.. Fixed

Post by Deviloper »

Feel free to export and upload a fixed template here.
Thx,
Bo
strandtc
Posts: 5
Joined: Fri Jun 25, 2010 6:51 pm

Re: Possible Bug.. Fixed

Post by strandtc »

This isn't part of a template. This is in the php code that generates the page which allows you to create new graphs.

-Chris
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Possible Bug.. Fixed

Post by BSOD2600 »

Did you install all the 0.8.7g patches?
strandtc
Posts: 5
Joined: Fri Jun 25, 2010 6:51 pm

Re: Possible Bug.. Fixed

Post by strandtc »

No, I didn't. Thats why I noted it being a "possible" bug.

Last time I looked at the lastest release (which I think was G), the plugin arch was all broken.

-Chris
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Possible Bug.. Fixed

Post by BSOD2600 »

PIA 2.9 includes all the 0.8.7g patches (to date).
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests