You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "eugenegujing (via GitHub)" <gi...@apache.org> on 2026/07/23 22:41:42 UTC

[I] Importing a workflow into the current workspace creates a spurious duplicate workflow in the list [texera]

eugenegujing opened a new issue, #6846:
URL: https://github.com/apache/texera/issues/6846

   ### What happened?
   
   Using the **Import Workflow** button in the workspace toolbar (`frontend/src/app/workspace/component/menu/menu.component.ts` → `onClickImportWorkflow`) to import a workflow JSON into the currently open workflow **A** leaves a brand-new workflow **B** in the user's workflow list, with content identical to the imported file.
   
   Replacing the content of the current workflow A with the imported content is the intended behavior of this button. The bug is only the extra workflow B: a single import silently creates an additional, unwanted workflow that the user never asked for.
   
   **Expected:** importing replaces the content of the current workflow A in place (A keeps its own `wid`), and **no** additional workflow is created in the list.
   
   ### How to reproduce?
   
   1. Log in and open an existing workflow **A**, so A has a real `wid`.
   2. In the workspace toolbar, click **Import Workflow** and select a workflow JSON
   3. Observe the canvas now shows the imported content.
   4. Wait for auto-persist (~debounce), then open the workflows list.
   
   Observed: a new workflow B identical to the import appears in the list (in addition to A), and the URL has switched to B's wid.
   Expected: A's content is replaced in place, A keeps its wid, and no new workflow B is created.
   
   ### Version/Branch
   
   1.3.0-incubating-SNAPSHOT (main)
   
   ### Commit Hash (Optional)
   
   _No response_
   
   ### What browsers are you seeing the problem on?
   
   _No response_
   
   ### Relevant log output
   
   ```shell
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing a workflow into the current workspace creates a spurious duplicate workflow in the list [texera]

Posted by "chenlica (via GitHub)" <gi...@apache.org>.
chenlica commented on issue #6846:
URL: https://github.com/apache/texera/issues/6846#issuecomment-5082253991

   @eugenegujing Please add screenshots.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing a workflow into the current workspace creates a spurious duplicate workflow in the list [texera]

Posted by "eugenegujing (via GitHub)" <gi...@apache.org>.
eugenegujing commented on issue #6846:
URL: https://github.com/apache/texera/issues/6846#issuecomment-5064244750

   /take


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Importing a workflow into the current workspace creates a spurious duplicate workflow in the list [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #6846: Importing a workflow into the current workspace creates a spurious duplicate workflow in the list
URL: https://github.com/apache/texera/issues/6846


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org