Closed hojohn2561 closed 4 years ago
[apiFramework 4ee39b8] bugFix: 49 - allow for modification of description without having to alter a network name via PUT request
Not working
This works while I test on Yarc.
Getting "Network1 is not a unique networkName in this collection."
I just tried it again and it works, can you be more specific in what you are testing? That error seems more like there is already a network named Network1 so you can't change it to that name... Note that modification is a PUT request
What branch are you on?
I'm not changing the name field, just the description field. I'm on the guiBugFixes branch off of master I created today. Yes, I'm creating a put request. I only have one network created, so there shouldn't be one with a duplicate name. It works when I change network name and description, but not just description.
databaseManager (which was merged into master). I know, changing the description and not name is possible. That is what I am testing. Via the PUT request and this payload: { "networkName":"testThree", "description":"change" } so the network testThree would just have the description updated
Ok. So it seems like I have to exclude the newNetworkName field. Interesting because I didn't change the payload after pulling from master. It seems like it's currently not reflected in master.
Msater also has the keys in capital (e.g., "NetworkName", "NewName", and "Description", so maybe it's out of date?
When changing a network's configuration, currently have to change network name. Can't change just its description.