Skip to content

When format file does not exist, changing certain settings may result in errors #4645

@TheWitness

Description

@TheWitness

Describe the bug

After a recent update to the Syslog plugin, it was found that there are cases where if you attempt to use Cacti's format file functions when the format file does not exist, Cacti will generate warnings.

To Reproduce

Steps to reproduce the behavior:

  1. Create a report that uses a standard cacti format file, then in the database, clear the format file. Make it blank.

  2. Generate the report

  3. Goto the Cacti log and see the errors.

Expected behavior

Cacti should use the default or return an error if the default is not present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QABug created between releases. So, no CHANGELOG entry requiredbugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions