Graph edit oddity after upgrade

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

Moderators: Developers, Moderators

Post Reply
ZincBlob
Posts: 5
Joined: Thu Jul 04, 2019 12:03 pm

Graph edit oddity after upgrade

Post by ZincBlob »

I recently upgraded to 1.2.25. I am seeing something quite different (design change/bug/something) when I edit a graph.

Previously, if I had groups of items, I could use the up/down arrows on the Line/Stack/Area and it would move that item and the legend items. Now if I move the first line, that line moves and the legend items remain unchanged.

See example before/after photo with red circle where I would normally click to move the entire group.
Attachments
after clicking on move arrow
after clicking on move arrow
after.png (137.04 KiB) Viewed 1052 times
before clicking on move arrow
before clicking on move arrow
before.png (128.44 KiB) Viewed 1052 times
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Graph edit oddity after upgrade

Post by macan »

Cannot reproduce this, works normally on my 1.2.25

Any error in cacti log?
PHP version?
Let the Cacti grow!
ZincBlob
Posts: 5
Joined: Thu Jul 04, 2019 12:03 pm

Re: Graph edit oddity after upgrade

Post by ZincBlob »

Nothing is generated to cacti.log during this operation.

# php -v
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2-1ubuntu2.14, Copyright (c), by Zend Technologies
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Graph edit oddity after upgrade

Post by TheWitness »

Edit the one that is out of place noting which sequence number it should be before editing it. The sequence number is editable now. So, update it to the correct sequence. Then, for the second item, you need to likely move it up-down to reset the sequences.

If you have a bunch of Graphs that are now messed up, you might want to Resequence the Template.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests