unbridled-41 opened a new issue, #5988:
URL: https://github.com/apache/rocketmq-dashboard/issues/5988

   ### Studio Version
   branch: `rocketmq-studio` @ `7e7aa344`
   ### Runtime Environment
   Backend tests: `cd server && mvn -o -B -ntp test -Dtest='AlertServiceTest'`.
   ### Describe the Bug
   `updateRule` answers with the request-derived VO, which never carries 
`lastTriggered` (the repository deliberately preserves the stored value), so 
the Alerts page - which replaces the row with this response - shows "Never 
Triggered" for a rule that has fired the moment its edit is saved, until the 
list reloads. Toggling the same rule brings the stamp back, because the toggle 
path answers with the stored row.
   ### Steps to Reproduce
   1. Let a rule fire (Last triggered shows a time). 2. Edit it and save. 3. 
The cell flips to "Never Triggered".
   ### What Did You Expect to See?
   The stored rule, as the list shows it.
   ### What Did You See Instead?
   The request echoed back, with the stamp lost in the UI.
   ### Impact
   A management table shows a wrong value after every edit, suggesting the rule 
never evaluated.
   ### Acceptance Criteria
   The update response carries the stored rule, with a regression test.
   **Corresponding PR:** #ISSUEPR#
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to