Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared Items disappeared #5441

Closed
2 of 7 tasks
shefalijoshi opened this issue Jul 6, 2022 · 6 comments
Closed
2 of 7 tasks

Shared Items disappeared #5441

shefalijoshi opened this issue Jul 6, 2022 · 6 comments

Comments

@shefalijoshi
Copy link
Contributor

shefalijoshi commented Jul 6, 2022

During testathon, creating a new folder in the Shared Items (mine) folder wiped out all the other items in that folder.
NOTE: There needs to be some specific condition for this to happen - slow connectivity to couchdb/banner perhaps? We don't know the specifics.

Expected vs Current Behavior

New folder should have been added to Shared Items while retaining the older contents of shared items

Steps to Reproduce

  1. Create a new folder on the Shared Items folder (on banner)
  2. Observe that all the other folders have been orphaned (still exist in couchdb, but are not part of the Shared items composition)

Environment

  • Open MCT Version: release/2.0.5
  • Deployment Type: VIPER Testathon
  • OS: All
  • Browser: All

Impact Check List

  • Data loss or misrepresented data?
  • Regression? Did this used to work or has it always been broken?
  • Is there a workaround available?
  • Does this impact a critical component?
  • Is this just a visual bug with no functional impact?
  • Does this block the execution of e2e tests?
  • Does this have an impact on Performance?

Additional Information

There was some slowness in reaching the banner environment, including couchdb during this testing.

@shefalijoshi
Copy link
Contributor Author

shefalijoshi commented Jul 8, 2022

Got into this state by first going to banner/stable and then immediately switching to banner/testathon.
request [CouchObjectProvider.js:208](webpack://openmct/src/plugins/persistence/couch/CouchObjectProvider.js?9318) #bulkGet [CouchObjectProvider.js:379](webpack://openmct/src/plugins/persistence/couch/CouchObjectProvider.js?9318) #deferBatchedGet/< [CouchObjectProvider.js:335](webpack://openmct/src/plugins/persistence/couch/CouchObjectProvider.js?9318) (Async: promise callback) #deferBatchedGet [CouchObjectProvider.js:323](webpack://openmct/src/plugins/persistence/couch/CouchObjectProvider.js?9318) get [CouchObjectProvider.js:307](webpack://openmct/src/plugins/persistence/couch/CouchObjectProvider.js?9318) get [ObjectAPI.js:219](webpack://openmct/src/api/objects/ObjectAPI.js?99d1) getOriginalPath [ObjectAPI.js:616](webpack://openmct/src/api/objects/ObjectAPI.js?99d1) updateSelection [Location.vue:147](webpack://openmct/src/ui/inspector/Location.vue?4f0e) emit [index.js:137](webpack://openmct/node_modules/eventemitter3/index.js?4c3f) __WEBPACK_AMD_DEFINE_RESULT__</Selection.prototype.handleSingleSelect [Selection.js:99](webpack://openmct/src/selection/Selection.js?d770) __WEBPACK_AMD_DEFINE_RESULT__</Selection.prototype.select [Selection.js:73](webpack://openmct/src/selection/Selection.js?d770) __WEBPACK_AMD_DEFINE_RESULT__</Selection.prototype.selectCapture [Selection.js:211](webpack://openmct/src/selection/Selection.js?d770) __WEBPACK_AMD_DEFINE_RESULT__</Selection.prototype.selectable [Selection.js:254](webpack://openmct/src/selection/Selection.js?d770) updateView [ObjectView.vue:261](webpack://openmct/src/ui/components/ObjectView.vue?62bb) show [ObjectView.vue:303](webpack://openmct/src/ui/components/ObjectView.vue?62bb) viewObject [Browse.js:41](webpack://openmct/src/ui/router/Browse.js?bb5e) navigateToPath/< [Browse.js:95](webpack://openmct/src/ui/router/Browse.js?bb5e)

Followed by a PUT for the 'mine' document

request
[CouchObjectProvider.js:208](webpack://openmct/src/plugins/persistence/couch/CouchObjectProvider.js?9318)
create
[CouchObjectProvider.js:379](webpack://openmct/src/plugins/persistence/couch/CouchObjectProvider.js?9318)
save
[CouchObjectProvider.js:335](webpack://openmct/src/plugins/persistence/couch/CouchObjectProvider.js?9318)
monkeyPatchObjectAPIForNotebooks/openmct.objects.save
[CouchObjectProvider.js:323](webpack://openmct/src/plugins/persistence/couch/CouchObjectProvider.js?9318)
invoke
[CouchObjectProvider.js:307](webpack://openmct/src/plugins/persistence/couch/CouchObjectProvider.js?9318)
applyGetInterceptors/<
[ObjectAPI.js:219](webpack://openmct/src/api/objects/ObjectAPI.js?99d1)
applyGetInterceptors
[ObjectAPI.js:616](webpack://openmct/src/api/objects/ObjectAPI.js?99d1)
get/objectPromise<
[Location.vue:147](webpack://openmct/src/ui/inspector/Location.vue?4f0e)
(Async: promise callback) get
[index.js:137](webpack://openmct/node_modules/eventemitter3/index.js?4c3f)
getOriginalPath
[Selection.js:99](webpack://openmct/src/selection/Selection.js?d770)
updateSelection
[Selection.js:73](webpack://openmct/src/selection/Selection.js?d770)

@charlesh88
Copy link
Contributor

charlesh88 commented Jul 11, 2022

Testathon 07-11-22: cannot reproduce, verified fixed.

@ozyx
Copy link
Contributor

ozyx commented Jul 11, 2022

Verified Testathon 7/11/22:

Created a bunch of folders, did not see the issue

@rukmini-bose
Copy link
Contributor

Verified Fixed Testathon 7/11/2022

@unlikelyzero unlikelyzero added this to the Build7 milestone Jul 17, 2022
@davetsay
Copy link
Contributor

Part of this fix was inadvertently removed due to 90662ce. Originally fixed in #5474.

@davetsay
Copy link
Contributor

davetsay commented Oct 21, 2022

Re-opened by mistake. Fix was re-implemented in #5654

@unlikelyzero unlikelyzero added this to the Target:2.0.6 milestone Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants