When adding an "Additional project", all the available branches for that project are shown properly but none of them can be selected. The selection box shows the "Latest" branch, and ignores attempts to choose another branch.

Steps to reproduce:

  1. Visit simplytest.me
  2. Enter "Drupal core" as the project name. Use the default project version.
  3. Click on "Advanced options".
  4. Press the "Add additional project" button.
  5. Type the name of a project in the additional project name. I used Mime Mail, but this can be any valid project. (Note that after you enter the additional project name you will see the "SI Field" problem I reported in #3236529: Autocomplete dropdown does not clear once a selection is made)
  6. Try to select a different branch/version of the project. The select box will not change.
  7. Press the "Launch Sandbox" button.
  8. Errors appear. See below.

The errors that show up are:

additionalProjects.0.shortname: This value should not be blank.
additionalProjects.0.type: This value should not be blank.
additionalProjects.0.type: This value should not be null.
additionalProjects.0.version: This value should not be blank.

Additional project

CommentFileSizeAuthor
additiona-project.png687.02 KBtr

Comments

TR created an issue. See original summary.

mglaman’s picture

Thanks for reporting, I'm going to mark this as a duplicate with #3236812: AdditionalProjects component is not updating context value when projects added.. There's something happening with the additional projects component. The state is not properly updating for some reason.

Also, thanks for the detailed bug report!