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

🐛 Bug Report: Cancelling Initial Migration Creates a Pseudo Project #7685

Open
2 tasks done
ItzNotABug opened this issue Feb 28, 2024 · 4 comments
Open
2 tasks done
Labels
bug Something isn't working product / migrations Fixes and upgrades for the Appwrite Migrations.

Comments

@ItzNotABug
Copy link
Contributor

ItzNotABug commented Feb 28, 2024

👟 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 -

PseudoProject.mov

👍 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@ItzNotABug ItzNotABug added the bug Something isn't working label Feb 28, 2024
@EVDOG4LIFE
Copy link
Member

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!

@ItzNotABug
Copy link
Contributor Author

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

@EVDOG4LIFE
Copy link
Member

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

@ItzNotABug
Copy link
Contributor Author

ItzNotABug commented Mar 19, 2024

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!

@stnguyen90 stnguyen90 added the product / migrations Fixes and upgrades for the Appwrite Migrations. label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / migrations Fixes and upgrades for the Appwrite Migrations.
Projects
None yet
Development

No branches or pull requests

3 participants