appwrite icon indicating copy to clipboard operation
appwrite copied to clipboard

🐛 Bug Report: Cancelling Initial Migration Creates a Pseudo Project

Open ItzNotABug opened this issue 2 years ago • 4 comments

👟 Reproduction steps

  1. Navigate to Console
  2. Click on Create Project Button
  3. Click Import Project (Experimental)
  4. Click Cancel or Navigate Back
  5. A Project with Random ID and Name with Format - Imported Project {DateFormat} is created

This isn't correct as the project is created before Importing takes place, so the user doesn't have an option to use a Custom ID or a Project Name.

Note: The console repository includes this particular dropdown in the source, the Cloud seems to have now removed this particular dropdown. I'll still keep this issue open though.

See -

https://github.com/appwrite/appwrite/assets/20625965/b45f3c67-da42-4780-8a6e-acc2d92cc18f

👍 Expected behavior

Don't create a project if migration is cancelled.

👎 Actual Behavior

Project is created with random ID and Name despite cancelling migration.

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

Localhost & Cloud.

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

ItzNotABug avatar Feb 28 '24 09:02 ItzNotABug

Thanks for filing this issue @ItzNotABug! Can you provide specific details on the recreation steps here? Include the relevant URLs/screenshots so we can reproduce.

Thanks!

EVDOG4LIFE avatar Mar 15 '24 22:03 EVDOG4LIFE

Hey @EVDOG4LIFE, Just confirming before uploading a whole video of the issue, does the steps provided for reproducing the issue not work? 😅

ItzNotABug avatar Mar 16 '24 03:03 ItzNotABug

Hey @EVDOG4LIFE, Just confirming before uploading a whole video of the issue, does the steps provided for reproducing the issue not work? 😅

@ItzNotABug Detailed instructions for reproduction can help community members who are new or unfamiliar get to right spot if they wish to contribute. The aim is to create something that anyone with an account can follow and reproduce.

For reference, if you're talking about Importing data (eg: https://cloud.appwrite.io/console/project-projectId/settings/migrations) from another platform then it would look roughly like this:

  1. Navigate to Console
  2. Select a project (create a new one if one does not exist)
  3. Select Settings, and select the Migrations Tab
  4. Select Import Data in the Import project data section
  5. Select source, input relevant data, and proceed to cancellation

EVDOG4LIFE avatar Mar 18 '24 16:03 EVDOG4LIFE

Hey @EVDOG4LIFE, Your reasoning makes sense. Thanks for that. I'll keep that in mind for future references.

I'll also add the requested issue video by later today.

Thanks!

ItzNotABug avatar Mar 19 '24 06:03 ItzNotABug