opendataeditor icon indicating copy to clipboard operation
opendataeditor copied to clipboard

Resource duplication in the package editor

Open roll opened this issue 2 years ago • 0 comments

          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

roll avatar Oct 01 '23 15:10 roll