From: Lucas Di Pentima Date: Wed, 15 Dec 2021 21:59:55 +0000 (-0300) Subject: 18587: Temporarily disabling the 'copy selected into collection' feature. X-Git-Tag: 2.4.0~24^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/dce08883afbf575127601743e2482c3bd8604d3a 18587: Temporarily disabling the 'copy selected into collection' feature. There're some cases that can cause data corruption. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/cypress/integration/favorites.spec.js b/cypress/integration/favorites.spec.js index 13a2c467..9bc90ebd 100644 --- a/cypress/integration/favorites.spec.js +++ b/cypress/integration/favorites.spec.js @@ -44,7 +44,8 @@ describe('Favorites tests', function () { }); }); - it('can copy selected into the collection', () => { + // Disabled while addressing #18587 + it.skip('can copy selected into the collection', () => { cy.createCollection(adminUser.token, { name: `Test source collection ${Math.floor(Math.random() * 999999)}`, manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" diff --git a/src/views-components/context-menu/action-sets/collection-files-action-set.ts b/src/views-components/context-menu/action-sets/collection-files-action-set.ts index 3aeec4c0..59a5f368 100644 --- a/src/views-components/context-menu/action-sets/collection-files-action-set.ts +++ b/src/views-components/context-menu/action-sets/collection-files-action-set.ts @@ -26,12 +26,13 @@ export const readOnlyCollectionFilesActionSet: ContextMenuActionSet = [[ dispatch(openCollectionPartialCopyDialog()); } }, - { - name: "Copy selected into the collection", - execute: dispatch => { - dispatch(openCollectionPartialCopyToSelectedCollectionDialog()); - } - } + // Disabled while addressing #18587 + // { + // name: "Copy selected into the collection", + // execute: dispatch => { + // dispatch(openCollectionPartialCopyToSelectedCollectionDialog()); + // } + // } ]]; export const collectionFilesActionSet: ContextMenuActionSet = readOnlyCollectionFilesActionSet.concat([[