Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #14312: Missing eventlogs for technique editor action and technique update #2166

Conversation

fanf
Copy link
Member

@fanf fanf commented Mar 26, 2019

https://issues.rudder.io/issues/14312

the provided commitid is the revision tree one, not a real commit id. The problem is that we totally can have several git commit without a reload, and to we can only log the state of the git when the reload is done. It is not possible to change that without changing all the logic on technique library, which is extremelly dangerous.

Copy link
Member

@ncharles ncharles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all is great, excepted identation

@@ -592,7 +627,12 @@ class EventLogFactoryImpl(
, severity : Int = 100
, reason : Option[String]
) : DeleteTechnique = {
val details = EventLog.withContent(techniqueXmlSerializer.serialise(deleteDiff.technique) % ("changeType" -> "delete"))
val details = EventLog.withContent{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong identation

@fanf
Copy link
Member Author

fanf commented Mar 27, 2019

Commit modified

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/2166
-- Your faithful QA
Kant merge: "Morality is not the doctrine of how we may make ourselves happy, but how we may make ourselves worthy of happiness."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/8465/console)

@fanf
Copy link
Member Author

fanf commented Mar 27, 2019

OK, squash merging this PR

@fanf fanf force-pushed the bug_14312/missing_eventlogs_for_technique_editor_action_and_technique_update branch from e27c4e8 to 7cf6d69 Compare March 27, 2019 11:44
@fanf fanf merged commit 7cf6d69 into Normation:branches/rudder/5.0 Mar 27, 2019
@fanf fanf deleted the bug_14312/missing_eventlogs_for_technique_editor_action_and_technique_update branch March 15, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants