mirror of https://github.com/hashicorp/consul
cdb8a35501
The fix here is two fold: - We shouldn't be providing the DataSource (which loads the data) with an id when we are creating from within a folder (in the buggy code we are providing the parentKey of the new KV you are creating) - Being able to provide an empty id to the DataSource/KV repository and that repository responding with a newly created object is more towards the "new way of doing forms", therefore the corresponding code to return a newly created ember-data object. As we changed the actual bug in point 1 here, we need to make sure the repository responds with an empty object when the request id is empty. |
||
---|---|---|
.. | ||
auth-providers | ||
client | ||
clipboard | ||
code-mirror | ||
data-sink | ||
data-source | ||
repository | ||
atob.js | ||
btoa.js | ||
can.js | ||
change.js | ||
container.js | ||
data-structs.js | ||
dom.js | ||
encoder.js | ||
env.js | ||
env.mdx | ||
feedback.js | ||
filter.js | ||
form.js | ||
i18n-debug.js | ||
i18n.js | ||
logger.js | ||
repository.js | ||
routlet.js | ||
schema.js | ||
search.js | ||
settings.js | ||
sort.js | ||
state-with-charts.js | ||
state.js | ||
store.js | ||
temporal.js | ||
ticker.js | ||
timeout.js | ||
ui-config.js |