Error when trying to install Drutopia Case Study #94
Labels
No labels
A11y
Automated Testing
Contributable
Contributed
Decision
Design
Development
Drutopia
Feature Request
IndieWeb
Infrastructure
Marketing
Needs documentation
status::Abandoned
status::Blocked
status::Deploy
status::Doing
status::Done
status::In Review
status::Needs Clarification
status::Test
status::To Do
type::Bug
type::Task
type::User Story
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: agaric/agaric-coop#94
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I try to install Drutopia Case Study, I get the following error:
mentioned in issue #88
closed
unassigned @cedewey
reopened
@mlncn I'm stuck on this. I see each of these missing dependencies in drutopia_case_study/config/install
What do I need to do to address this error?
assigned to @mlncn
changed the description
changed the description
@cedewey you need to include the configuration export of these precise field dependencies in Drutopia Case Study, and make a requirement of the module you've alluded to that's the source of the license vocabulary and possibly the license field.
That's... what i've been asking you to do for two days. At this point i'm afraid you may have lost the configuration, unless it's stashed in some branch?
As the error message indicates,
web/modules/custom/drutopia_case_study/config/install/core.entity_form_display.node.case_study.default.yml
does indeed call forfield.field.node.case_study.field_case_study_technologies
as a dependency. The first item listed in each series is the one that is there; the following ones in each series are what the first one is missing. The problem is there is NOT any:web/modules/custom/drutopia_case_study/config/install/field.field.node.case_study.field_case_study_technologies.yml
web/modules/custom/drutopia_case_study/config/install/field.field.node.case_study.field_license.yml
web/modules/custom/drutopia_case_study/config/install/field.storage.node.field_services.yml
web/modules/custom/drutopia_case_study/config/install/field.field.node.case_study.field_services.yml
web/modules/custom/drutopia_case_study/config/install/taxonomy.vocabulary.license.yml
All of those files need to exist (with proper configuration in them!) for the import to work.
@cedewey OK as hoped the two license-related configurations above
field.storage.node.field_license.yml
andtaxonomy.vocabulary.license.yml
do exist in yourdrutopia_creative_license
module, so to take care of them all you need to do is add it as a dependency indrutopia_case_study.info.yml
For the other fields, if you still have it working locally you should be able to
drush -y cex
and copy them fromconfig/sync
into the install directory. If you don't have them working locally still, and you haven't exported them somewhere that you can retrieve them (put into the config install of another Drutopia module maybe?) then you'll have to recreate the fields locally and export them. Or try your hand at copying and tweaking similar config files to create the missing ones...mentioned in merge request !25
mentioned in commit
2c4c2fdcd1
closed via merge request !25