og icon indicating copy to clipboard operation
og copied to clipboard

Can't uninstall.

Open liquidcms opened this issue 4 years ago • 3 comments

I've used OG a fair bit in D7. Client just added requirement to project. Seemed as though OG not ready for use yet so started looking at Group. Not a fan of the approach taken with that module so quick check to see how far along OG is.

First Test:

  • composer install 1.x-dev
  • drush en -> site crashes
  • drush cr -> site restored (shouldn't be required to do a cr after en)
  • added new bundle, set as Group, og field added automatically. excellent so far
  • added test group; works fine - author auto added as group maintainer
  • set existing bundle as group content - see og ref field auto added
  • wanted to bulk add a few users to group -> no bulk add action available to VBO
  • added Views Bulk Edit and now i can add modify entity field action to People view
  • try running this action and wsod
  • want to check if this is due to og (likely not) or VBE

Try to disable OG:

  • in anticipation of core complaining i have content, i delete my test group
  • pmu og -> og: The OG membership reference field type is used in the following field: node.og_audience -- hmm.. odd
  • i remove the og ref field from the bundle i set as group content (why?)
  • pmu og -> og: There is content for the entity type: OG membership. Remove og membership entities
  • i remove the og ref field from user entity (EDIT: i guess i didnt do this as there is no OG field added or available)
  • pmu og -> og: There is content for the entity type: OG membership. Remove og membership entities.

but no interface to anything OG related other than the OG config admin page.

so failing going directly into the db; i think there is no option to pmu og

liquidcms avatar Dec 18 '20 20:12 liquidcms

go back to old db without OG enabled.. and start over.

  • get to point to add people individually this time as VBE doesn't work with user entity); but i see no ui to add users to a group - so dead in the water.

i'll try going through the git issues to see if anything.

liquidcms avatar Dec 18 '20 20:12 liquidcms

Dear Peter, you may want to have a look at #240 first. It contains references to a number of features that you may need.

drush en -> site crashes

Could you post the error message or even better a stack trace of the error you encountered and some more information on the version of Drupal etc. and some steps to reproduce?

Note that there's a settings UI where you can configure how Drupal should deal with orphaned group content. If you're using the default QueueWorker then you should run cron first.

MPParsley avatar Dec 19 '20 11:12 MPParsley

the error after enable is: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "og_membership" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 150 of core\lib\Drupal\Core\Entity\EntityTypeManager.php).

cleared up after cache rebuild.

looking at the link to the roadmap; i likely need to be using the -dev version. i think i am likely not - but hard to tell as doesn't list version on Extend page and no entry in the Available Updates; but installed using composer with: 1.x-dev. so a little confused as to what i have as this: https://github.com/Gizra/og/pull/231 suggests this is added to -dev - but maybe not the -dev when composer installed from drupal.org?

i certainly would prefer to be using OG; but will tell my client we likely need to consider Group for now.

liquidcms avatar Dec 22 '20 02:12 liquidcms