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

Import content can potentially create orgs which does not exist #273

Open
sharmee-b opened this issue Dec 5, 2024 · 0 comments
Open

Import content can potentially create orgs which does not exist #273

sharmee-b opened this issue Dec 5, 2024 · 0 comments

Comments

@sharmee-b
Copy link

Expected Behaviour

If I am importing a page to an org which is not present, the import is successful. The edit page also opens successfully with the imported content. But during preview it fails.
For example, I imported a page https://main--milo--adobecom.hlx.page/drafts/sharmeeb/content-analytics successfully to org "sharmee-b" and repo "da-bacom".
The edit page also opened successfully https://da.live/edit#/sharmee-b/da-bacom/drafts/sharmeeb/content-analytics
When I tried to preview it failed
image

Actual Behaviour

Import should not have been successful if sharmee-b org was not present. Can provide a dropdown for available orgs and corresponding repo
image

Reproduce Scenario (including but not limited to)

Steps to Reproduce

  1. Import any page to an org and repo which does not exist.
  2. Once the import is successful, modify the https://da.live/edit# url to contain the provided org and repo during import
  3. The page opens up successfully
  4. Click on preview button

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant