You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to update/overwrite a owner of multiple properties.
Both PUT and POST do not work on '../resources/properties'. This is what I tried:
curl -XPUT -H 'Content-Type: application/json' -u admin:1234 'http://localhost:8080/ChannelFinder/resources/properties' -d '
[
{"name": "setTestProp1", "owner": "cf-properties"},
{"name": "setTestProp2", "owner": "cf-properties"}
]'
New properties were created after this.
curl -XPUT -H 'Content-Type: application/json' -u admin:1234 'http://localhost:8080/ChannelFinder/resources/properties' -d '
[
{"name": "setTestProp1", "owner": "cf-admins"},
{"name": "setTestProp2", "owner": "cf-admins"}
]'
The owner did not changed after this.
curl -XPOST -H 'Content-Type: application/json' -u admin:1234 'http://localhost:8080/ChannelFinder/resources/properties' -d '
[
{"name": "setTestProp1", "owner": "cf-admins"},
{"name": "setTestProp2", "owner": "cf-admins"}
]'
The owner was not updated after this.
The server log does not show any exception related to security authentication or otherwise.
Note: I have used embedded ldap. I have attached the server log. log.txt
The text was updated successfully, but these errors were encountered:
This is not supported. I will add this to the list of changes to be made to the api documentation.
Changing properties is a rare enough event and changing multiple properties is even rarer...thus the changing ownership should be done on a single property/tag to avoid mistakes
Unable to update/overwrite a owner of multiple properties.
Both PUT and POST do not work on '../resources/properties'. This is what I tried:
curl -XPUT -H 'Content-Type: application/json' -u admin:1234 'http://localhost:8080/ChannelFinder/resources/properties' -d '
[
{"name": "setTestProp1", "owner": "cf-properties"},
{"name": "setTestProp2", "owner": "cf-properties"}
]'
New properties were created after this.
curl -XPUT -H 'Content-Type: application/json' -u admin:1234 'http://localhost:8080/ChannelFinder/resources/properties' -d '
[
{"name": "setTestProp1", "owner": "cf-admins"},
{"name": "setTestProp2", "owner": "cf-admins"}
]'
The owner did not changed after this.
curl -XPOST -H 'Content-Type: application/json' -u admin:1234 'http://localhost:8080/ChannelFinder/resources/properties' -d '
[
{"name": "setTestProp1", "owner": "cf-admins"},
{"name": "setTestProp2", "owner": "cf-admins"}
]'
The owner was not updated after this.
The server log does not show any exception related to security authentication or otherwise.
Note: I have used embedded ldap. I have attached the server log.
log.txt
The text was updated successfully, but these errors were encountered: