Exception when searching assets

Description

Hi,

all our asset searches result in an exception being thrown.

For example, accessing https://acme.org/opennms/asset/nodelist.jsp?column=operatingSystem&searchvalue=junos results in a 'The OpenNMS Web User Interface Has Experienced an Error' page and the following log lines appear in jetty-server.log (see full log in attachment):

2022-05-02 11:49:26,654 WARN  [qtp408348544-1692123] o.e.j.s.HttpChannel: /opennms/asset/nodelist.jsp
javax.servlet.ServletException: org.apache.jasper.JasperException: An exception occurred processing /asset/nodelist.jsp at line [52]

49:         throw new MissingParameterException("searchvalue", requiredParameters);
50:     }
51:
52:     AssetModel.MatchingAsset[] assets = column.equals(ALL_NON_EMPTY) ? AssetModel.searchNodesWithAssets() : AssetModel.searchAssets(column, search);
53:
54:     AclUtils.NodeAccessChecker accessChecker = AclUtils.getNodeAccessChecker(getServletContext());
55: %>

Best regards,

Cyrille

Acceptance / Success Criteria

  • make assets searchable again

Attachments

1

Lucidchart Diagrams

Activity

Show:

Cyrille Bollu May 11, 2022 at 10:20 AM

seeing

Cyrille Bollu May 11, 2022 at 10:18 AM

Oups sorry, I'm just saying your comments now.

It seems I'm not receiving the notifications

Christian Pape May 11, 2022 at 8:56 AM

Merged.

Benjamin Reed May 9, 2022 at 7:21 PM

It looks like the patch applies cleanly to foundation-2019, can't say whether it actually works though

Christian Pape May 5, 2022 at 6:23 AM

Fixed

Details

Assignee

Reporter

Story Points

Components

Sprint

Affects versions

Priority

PagerDuty

Created May 2, 2022 at 9:58 AM
Updated July 6, 2022 at 5:44 PM
Resolved May 11, 2022 at 8:56 AM