Context
Open Intranet installation is currently failing due to patches in composer.json that reference merge requests instead of stable patches. The specific issue is with the ckeditor_media_resize module patch that was updated in the merge request to change core_version_requirement from "^10.3 || ^11" to "^10.5 || ^11.2", but Open Intranet uses Drupal 11.1 which doesn't match this requirement.
This causes config import failures during installation, making the entire site non-functional and preventing users from successfully installing Open Intranet.
Task Type
Type: Bug
What To Do
Replace all patches in composer.json that reference merge requests with stable, committed patches or alternative solutions. The failing patch and two other merge request-based patches need to be addressed:
The solution should ensure stable installation process regardless of minor version updates to referenced merge requests.
How To Do / Proposed Approach
1. Immediate fix: Remove or replace the problematic ckeditor_media_resize patch to allow installation
2. Long-term solution: Review all three merge request-based patches and replace them with:
- Stable patches from committed issues
- Alternative modules or approaches
- Custom patches maintained in the Open Intranet repository
3. Testing: Verify that Open Intranet installs successfully on Drupal 11.1 without the problematic patches
4. Documentation: Update contribution guidelines to avoid merge request-based patches in the future
When / Version / Related Tasks
Priority: Critical - blocks installation
Target version: 1.2.x branch
Drupal version: 11.1 (with consideration for 11.2 upgrade path)
Steps to Reproduce
- Clone Open Intranet repository
- Run ./launch-intranet.sh
- Installation fails during config import
- Site becomes non-functional
Current Workaround
Temporarily remove the ckeditor_media_resize patch from composer.json to allow installation, but this is only a temporary solution that doesn't address the underlying issue.
Additional Context
The team identified that there were issues with Drupal 11.2 upgrade (referenced in task 3532288), which is why the project remains on 11.1. However, patches should not depend on unstable merge requests that can change requirements unexpectedly.