opendataeditor
opendataeditor copied to clipboard
Resource duplication in the package editor
Hi @roll, I have fixed the above mentioned errors and others that I found while testing. Here is one additional error, that I am not sure how to solve because it is related to "memoize".
- [ ] Use package with two resources. Select first resource, update and save. Select another resource and try updating, it will overwrite to the previous index and the resource is duplicated. This causes the error.
Resetting to first(package) section is because the section variable gets set to 'package' after save. I couldnot find where exactly it gets changed in this case. I think it could be related to memoize. I can try debugging it again as a separate issue.
Thanks!
Originally posted by @shashigharti in https://github.com/okfn/opendataeditor/issues/240#issuecomment-1687424017