graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Show Changes button on decorated message detail not working

Open kingzacko1 opened this issue 3 years ago • 1 comments

The button to Show Changes on a MessageDetail component for a decorated message no longer seems to be working.

Expected Behavior

If the Show Changes button is displayed on a decorated message, then clicking it should result in showing what changes were made with the search decorators.

Current Behavior

When the Show Changes button is displayed on a decorated message clicking it results in seemingly no action and nothing new displayed in the UI

Possible Solution

Possibly unrelated, but there is a React PropTypes error thrown in the browser console referencing the MessageDetail component when it is expanded. Maybe cleaning up this front end error would result in correct behavior

prop-types-err.log

Steps to Reproduce (for bugs)

  1. Create an input to receive messages (I just used a Random HTTP message generator)
  2. System > Configurations > Decorators Configuration > Create a new decorator to add/modify an existing field in the All Messages stream
  3. Send a message to your input (if not using randomly generated)
  4. Go to the All Messages stream and expand a message (this throws the attached React prop types error in the console for me in both Chrome and Firefox)
  5. The Show Changes button should be present after expanding the method and clicking it should result in no change to the UI

Context

Was trying to test out some back end changes to the DecorationStats object and confirm nothing on the front end was affected and found that these changes were not displaying.

Your Environment

My local dev environment

  • Graylog Version: 4.3
  • Java Version: OpenJDK 1.8
  • Operating System: Ubuntu
  • Browser version: Chrome - Version 96.0.4664.45 / Firefox - Version 94.0

kingzacko1 avatar Dec 06 '21 14:12 kingzacko1