Skip to content

Manual rebuild of "CPE" index doesn't work #1337

@amerry

Description

@amerry

Current Behavior

When attempting to rebuild the CPE index, an error occurs. This appears to be because there is no CPE index (based on looking at the source code).

Image

Note that requesting a rebuild of any of the other indexes works fine.

Logs contain:

2025-09-16 16:16:19,569 WARN [WebComponent] A servlet request to the URI https://<server>/api/v1/search/reindex?type=CPE contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

Steps to Reproduce

  1. Navigate to Administration -> Configuration -> Search
  2. Under "General - Manual Rebuild" select the "CPE" toggle
  3. Click "Rebuild index(es)"
Image

Expected Behavior

Requesting a rebuild of any of the listed indexes does not produce an error.

Dependency-Track Frontend Version

4.13.4

Browser

Mozilla Firefox

Browser Version

No response

Operating System

macOS

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions