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 #10569: Adding a json node property by UI make it a string #1628

Conversation

VinceMacBuche
Copy link
Member

@@ -636,6 +636,7 @@ case class RestExtractorService (
private[this] def extractNodeProperty(json : JValue) : Box[NodeProperty] = {
( (json \ "name"), (json \ "value") ) match {
case ( JString(nameValue), value ) =>
logger.info(value)
Copy link
Member

Choose a reason for hiding this comment

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

it should either be debug, or not there, isn't it?

@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_10569/adding_a_json_node_property_by_ui_make_it_a_string branch from a2534eb to 5887212 Compare April 13, 2017 10:59
@ncharles
Copy link
Member

I cannot add node properties with this change :(

@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_10569/adding_a_json_node_property_by_ui_make_it_a_string branch from 5887212 to 0f9d9df Compare April 13, 2017 12:39
@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_10569/adding_a_json_node_property_by_ui_make_it_a_string branch from 0f9d9df to c914240 Compare April 13, 2017 12:46
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit c914240 into Normation:branches/rudder/4.1 Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants