Public bug reported:

I've recently finished setting up a brand-new installation of Cacti
0.8.8f+ds1-2 on Ubuntu 15.10 and believe that I've uncovered a data
validation bug when modifying data sources. (The same error probably
exists elsewhere in the code, but I haven't verified it.) Everything
works as expected, except I cannot save any changes to my data source
name (for example).

To reproduce the problem, I go to Console -> Data Sources, then pick one
of my existing data sources to Edit. (In my case, I selected a Cisco
device that's working as expected, is being properly polled by SNMP, and
is graphing just fine.) I select an interface such as Gi0/0. Going down
to the "Supplemental Data Template Data" section, I tried changing the
"Name" field from the default "|host_description| - Traffic -
|query_ifIP| - |query_ifName|" to a constant string "Primary ISP" (with
no special character, without the quotes, etc.). When I click the SAVE
button at the bottom right, I receive red text at the top of the window
that reads "Error: Save Failed: Field Input Error (Check Red Fields)."
No fields appear in red, and there are no issues with any of the visible
data.

If I then leave the screen and come back to it, it appears that my
changes have been saved on this screen -- despite the earlier error
message! -- but the new information that I entered doesn't appear as
expected when I'm looking at the device graphs, device trees, or any
other place in the Cacti UI.

I tried something even simpler: open a data source (as above) as if I'm
going to edit it, but make no changes at all. When I click SAVE, the
error message appears as above.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: cacti 0.8.8f+ds1-2
ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
Uname: Linux 4.2.0-23-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Feb 16 10:04:51 2016
InstallationDate: Installed on 2016-01-07 (39 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cacti
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: cacti (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cacti wily

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1546140

Title:
  Data validation bugs when modifying Data Sources

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cacti/+bug/1546140/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to