Hi,
I had faced an issue with a curl command when I try to update a specific property in the service.
Imagine I have a service uk.co.test and it contains 2 property param1 and param2.
Now I run the below command to set the value for param1 to set test1 using
curl -u admin:admin -X POST -d "apply=true" -d "propertylist=param1" -d "param1=test1" http://localhost:4502/system/console/configMgr/uk.co.test
No When I try to set the value for param2 to test2 using the below curl, the value for param1 is set to empty.
curl -u admin:admin -X POST -d "apply=true" -d "propertylist=param2" -d "param2=test2" http://localhost:4502/system/console/configMgr/uk.co.test
In order to ensure the old value for param1 is retained, I had to use the below curl, where param1 is passed to the propertylist
curl -u admin:admin -X POST -d "apply=true" -d "propertylist=param2,param1" -d "param2=test2" http://localhost:4502/system/console/configMgr/uk.co.test
I had not faced this issue in the previous version of CQ(5.6.1) to the best of my knowledge, but see this behaviour in 6.2.
Did any one face a similar issue or is this documented somewhere ? Interested to understand what changed.
The below doc, doesn't document this
http://felix.apache.org/documentation/subprojects/apache-felix-web-console/web-console-restful-api.h...