Bug #3186
closedWhen we click on "update" and nothing changed, no event is generated
Description
I created a Group, and forgot to fill a change message. So after creating it, I filled in a Change message, and click on Update
Since nothing changed on the object (same node, same search), no event log was generated. But still, we has a deployment process started and finished immediatly, because of my action
This is a bit confusing when looking in the eventlog
Do you think it's the expected behaviour not to save an eventlog if nothing changed ?
Updated by Nicolas CHARLES almost 12 years ago
- Subject changed from When we click on 3update" and nothing changed, no event is generated to When we click on "update" and nothing changed, no event is generated
Updated by Jonathan CLARKE almost 12 years ago
- Status changed from Discussion to Rejected
- You shouldn't have forgotten it :-)
- Enable the "mandatory" option for change messages, to enforce their entry in the UI
- We may need another feature, such as adding comments to Event logs, Groups, Directives, etc... to add information to existing objects/events.
Either way, what is most confusing here is that an event log is generated anyway, even though there is no change. This is caused by the promise regeneration. I think the best solution here is to not launch a promise generation if there were no changes (we clearly know how to detect this, since we don't log the event). This will be addressed in #3191.