- Issue created by @rkoller
- ๐บ๐ธUnited States chrisfromredfin Portland, Maine
In InstallerController.php, it seems like Installing is hard-coded to only support drupalorg_mockapi:
// @todo Expand to support other plugins in https://drupal.org/i/3312354. $source = $this->enabledSourceHandler->getCurrentSources()['drupalorg_mockapi'] ?? NULL; if ($source === NULL) { return new JsonResponse(['message' => "Cannot download $project->id from any available source"], 500); } if (!$source->isProjectSafe($project)) { return new JsonResponse(['message' => "$project->machineName is not safe to add because its security coverage has been revoked"], 500); }
However, also of note is that $project->id is displayed in that error message, and looks pretty messed up:
Cannot download drupalorg_jsonapi/drupal-starrating-starrating from any available source
- ๐บ๐ธUnited States chrisfromredfin Portland, Maine
@phenaproxima is going to look at this soon (next day or two)
- ๐บ๐ธUnited States chrisfromredfin Portland, Maine
actually this should block alpha
- ๐บ๐ธUnited States phenaproxima Massachusetts
Yeah -- that line needs to be axed, frankly. Should have been removed when the real endpoint was promoted to a full source!
- ๐ฉ๐ชGermany rkoller Nรผrnberg, Germany
rkoller โ changed the visibility of the branch 3459288-unable-to-add to hidden.
- ๐ฉ๐ชGermany rkoller Nรผrnberg, Germany
rkoller โ changed the visibility of the branch 3459288-unable-to-add to active.
- ๐บ๐ธUnited States phenaproxima Massachusetts
That said, we are doing some kind of testing of it, so let's keep it for now but wrap it in an
if
check. - ๐ฉ๐ชGermany rkoller Nรผrnberg, Germany
As already written over on the conversation on slack, tested on a fresh install of 10.3.1. installed with composer, then composer required package manager and project browser only. then went into the project browser folder and added the MR543 and switched to the feature branch. enabled the ui install and tested with the star rating module. The module got successfully installed now via the json api source type. from a manual testing perspective that looks fully functional now. thank you!
-
chrisfromredfin โ
committed dd3fe872 on 2.0.x authored by
phenaproxima โ
Issue #3459288: Unable to add and install a module via the drupal.org (...
-
chrisfromredfin โ
committed dd3fe872 on 2.0.x authored by
phenaproxima โ
- Status changed to Fixed
6 months ago 4:43pm 10 July 2024 - ๐บ๐ธUnited States chrisfromredfin Portland, Maine
since this was worked on and tested and RTBC'd, I'll ship it!
Automatically closed - issue fixed for 2 weeks with no activity.