Skip to content

When viewing Links, errors can be generated #4990

@anarkia1976

Description

@anarkia1976

Hi Guys,

When you create an external links to a web page with a user that has the correct permissions, for example USER1, the latter is able to correctly view the site as a TOP TAB and recall it.

USER1
image

image

If you create a second user, for example USER2 with the same permissons, the same will correctly display the URL in the external links but will not be able to recall it due to a permissions problem.

USER2
image

2022-11-07 09:17:04 - CMDPHP PHP ERROR NOTICE Backtrace: (/links.php[37]:form_actions(), /links.php[186]:CactiErrorHandler())
2022-11-07 09:17:04 - ERROR PHP NOTICE: Trying to access array offset on value of type null in file: /var/www/html/cacti/links.php on line: 186
2022-11-07 09:16:05 - CMDPHP PHP ERROR NOTICE Backtrace: (/links.php[37]:form_actions(), /links.php[186]:CactiErrorHandler())
2022-11-07 09:16:05 - ERROR PHP NOTICE: Trying to access array offset on value of type null in file: /var/www/html/cacti/links.php on line: 186 

I don't know if the behavior is correct or if the external links must be personal and not viewable by other users.

Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions