Bug #3186
closed
When we click on "update" and nothing changed, no event is generated
Added by Nicolas CHARLES almost 12 years ago.
Updated almost 12 years ago.
Category:
Web - Maintenance
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 ?
- 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
- Status changed from Discussion to Rejected
This is the expected behaviour: if you don't change anything, there is no call for a change message. If you forgot your change message in the previous event, well, three options:
- 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.
Also available in: Atom
PDF