Answers.Body: <p>You may find it helpful to join <a href="https://chat.civicrm.org/civicrm/channels/drupal" rel="nofollow noreferrer">https://chat.civicrm.org/civicrm/channels/drupal</a> which is where some active discussion about D8 is happening.</p>
  
  <p>Including this <a href="https://chat.civicrm.org/civicrm/pl/jz96ujohjffsixbdbt8s89tsmy" rel="nofollow noreferrer">update</a> about webform integration </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-23T20:05:25.073Z
Answers.Text: Also note that while CiviCRM has a 'core team' a lot of work is done by the community, so while reporting bugs is useful, finding a way to contribute in some way can increase the speed with which bugs get resolved.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-24T20:41:04.257Z
Answers.Text: Thanks for the tip on the discussion forum.  I was at a loss for where to refer.  I'm game for getting involved in coding, pull requests, etc., but right now half the battle is just figuring out where the code worth working on might be.
Answers.UserDisplayName: theta-fish
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-24T20:43:04.643Z
Answers.Text: And don't get me started on the state of Drupal8 documentation and project support.  It's really chaotic right now.
Answers.UserDisplayName: theta-fish
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-24T23:10:37.707Z
Answers.Text: It will be great if you can help improve the community documentation for this. Not sure what you mean by 'project support'. there isn't a team of paid 'support workers'. we are mostly other folk using civi voluntarily or as part of our business who opt to try and help out others in the hope that strengthens the community and the project
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-25T23:32:51.040Z
Answers.Text: I should have been more clear.  By project support, I meant module support for Drupal8 as opposed to Drupal7.  As it stands, IMO Drupal8 is only barely over the line of being production capable and only for the most basic of sites.  Despite the improvements to core feature completeness, core still lacks many important features, and many of the modules that support them are still in dev status.
Answers.UserDisplayName: theta-fish
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-26T03:27:12.430Z
Answers.Text: We know that civicrm is not fully featured for D8 yet. But bit by bit the community does its best to add features, but without a major donor/sponsor/client it happens as and when folk can put in the effort. There is now some roadmap for webform per this https://chat.civicrm.org/civicrm/pl/jz96ujohjffsixbdbt8s89tsmy - will be great if you can help move the project along.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-27T14:59:53.863Z
Answers.Text: And, again I was unclear:  My beef is primarily with the state of D8 itself, not with Civi.  It's been made clear by the team that Civi is not fully D8 compatible and I'm not knocking the progress -- it's excellent to be moving that way.  D8 itself, on the other hand, is disorganized, confusing, and incomplete for all but the most basic of sites -- even installing D8 is a nightmare of multiple options and confusing tutorials and official documentation, which, if you follow the official instructions, can even result in an installation that doesn't support automatic updates. Very disappointing.
Answers.UserDisplayName: theta-fish
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-23T20:04:20.413Z
Answers.LastActivityDate: 2018-05-26T03:28:54.393Z
Answers.LastEditDate: 2018-05-26T03:28:54.393Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>Thanks for this report. </p>
  
  <p>You can report issues at <a href="https://lab.civicrm.org/dev/drupal/issues" rel="nofollow noreferrer">https://lab.civicrm.org/dev/drupal/issues</a>. </p>
  
  <p>While CiviCRM works under Drupal 8 fine in terms of independent CiviCRM functionality, the support for various integrations into Drupal 8 is still a work in progress. Coleman with support from David Snopek and Will put out a prototype / mockup of  D8 webform civicrm May 25 2018.  There is going to be a Make It Happen fundraising effort and I'm sure that developer resources and effort will be appreciated.</p>
  
  <p>For view support the plan is to implement a D8 version of entity civicrm module, and then leverage D8 Views support for entities. We at JMA recently pushed some changes to improve D8 entity civicrm support for contacts, but weren't using subtypes like you are. So it may or may not work when using entities. We are also ensuring there is good  support for events in views via entities, and starting to help @jackrabbithanna with improvements to earlier Drupal versions of his entity civicrm module.</p>
  
  <p>Feel free to contact me at joe dot murray at jmaconsulting dot biz if you'd like us to get specific D8 integration issues working for you.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-24T20:55:31.280Z
Answers.Text: Thanks for the orientation.  Knowing the strategy is very helpful.  We (my company) are very open to getting involved at the coding/documentation level, so we'll check into how we can contribute effectively.  I'll start by logging what I found in the issue tracker.
Answers.UserDisplayName: theta-fish
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-26T01:39:34.303Z
Answers.Text: Note I just editted to include new status of webform civicrm integration.
Answers.UserDisplayName: Joe Murray
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-24T10:14:25.610Z
Answers.LastActivityDate: 2018-05-26T01:38:13.783Z
Answers.LastEditDate: 2018-05-26T01:38:13.783Z
Answers.UserDisplayName: Joe Murray
Answers.Body: <p>Are you using <a href="https://www.drupal.org/project/civicrm_entity/" rel="nofollow noreferrer">civicrm_entity</a>? It seems to work when using that module. Tested on CiviCRM 5.14 and Drupal 8.6.</p>
  
  <p><a href="https://i.sstatic.net/GIfoA.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/GIfoA.png" alt="CiviCRM View with CiviCRM Entity"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-27T13:36:06.193Z
Answers.LastActivityDate: 2019-06-27T13:36:06.193Z
Answers.UserDisplayName: bgm
Body: <p>I don't know the depth of CiviCRM's official commitment to Drupal 8 yet, but I've followed the instructions posted <a href="https://www.mydropwizard.com/blog/how-install-civicrm-drupal-8-and-why-choose-it-over-pure-drupal-crm" rel="nofollow noreferrer" title="here">here</a> for setting it up.</p>
  
  <p>After creating a contact subtype of "Committee" and creating a Drupal view for "CiviCRM Contacts", I attempted to filter on the Committee subtype.  When saving, I got a raw server error displayed:</p>
  
  <pre><code>The website encountered an unexpected error. Please try again later.
  </code></pre>
  
  <p>Checking the Apache logs, I saw:</p>
  
  <pre><code>Uncaught PHP Exception InvalidArgumentException: "The configuration property display.default.display_options.filters.contact_sub_type.value.Committee doesn't exist." at /var/www/html/web/core/lib/Drupal/Core/Config/Schema/ArrayElement.php line 76
  </code></pre>
  
  <p>This seems to imply that the CiviCRM Views integration isn't providing something that the Views module wants in order to validate the filter value.</p>
  
  <p>Anyone have any suggestions for next steps?  Is CiviCRM's dev team developing for Drupal 8 and do they want related bug reports?</p>
  
Tags: <contacts><drupal-views><drupal-8>
Title: Cannot filter on contact subtype in Drupal8 views
ThreadText: # Cannot filter on contact subtype in Drupal8 views
  
  (Asked by: username_0 on 2018-05-23)
  
  I don't know the depth of CiviCRM's official commitment to Drupal 8 yet, but I've followed the instructions posted [here](https://www.mydropwizard.com/blog/how-install-civicrm-drupal-8-and-why-choose-it-over-pure-drupal-crm "here") for setting it up.
  
  After creating a contact subtype of "Committee" and creating a Drupal view for "CiviCRM Contacts", I attempted to filter on the Committee subtype. When saving, I got a raw server error displayed:
  
  ```
  The website encountered an unexpected error. Please try again later.
  
  ```
  
  Checking the Apache logs, I saw:
  
  ```
  Uncaught PHP Exception InvalidArgumentException: "The configuration property display.default.display_options.filters.contact_sub_type.value.Committee doesn't exist." at /var/www/html/web/core/lib/Drupal/Core/Config/Schema/ArrayElement.php line 76
  
  ```
  
  This seems to imply that the CiviCRM Views integration isn't providing something that the Views module wants in order to validate the filter value.
  
  Anyone have any suggestions for next steps? Is CiviCRM's dev team developing for Drupal 8 and do they want related bug reports?
  
  **Tags:** contacts, drupal-views, drupal-8
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2018-05-23. Score: 1
  
  You may find it helpful to join <https://chat.civicrm.org/civicrm/channels/drupal> which is where some active discussion about D8 is happening.
  
  Including this [update](https://chat.civicrm.org/civicrm/pl/jz96ujohjffsixbdbt8s89tsmy) about webform integration
  
  > **Comments:**
  > **username_1**: Also note that while CiviCRM has a 'core team' a lot of work is done by the community, so while reporting bugs is useful, finding a way to contribute in some way can increase the speed with which bugs get resolved.  
  > **username_0**: Thanks for the tip on the discussion forum.  I was at a loss for where to refer.  I'm game for getting involved in coding, pull requests, etc., but right now half the battle is just figuring out where the code worth working on might be.  
  > **username_0**: And don't get me started on the state of Drupal8 documentation and project support.  It's really chaotic right now.  
  > **username_1**: It will be great if you can help improve the community documentation for this. Not sure what you mean by 'project support'. there isn't a team of paid 'support workers'. we are mostly other folk using civi voluntarily or as part of our business who opt to try and help out others in the hope that strengthens the community and the project  
  > **username_0**: I should have been more clear.  By project support, I meant module support for Drupal8 as opposed to Drupal7.  As it stands, IMO Drupal8 is only barely over the line of being production capable and only for the most basic of sites.  Despite the improvements to core feature completeness, core still lacks many important features, and many of the modules that support them are still in dev status.  
  > **username_1**: We know that civicrm is not fully featured for D8 yet. But bit by bit the community does its best to add features, but without a major donor/sponsor/client it happens as and when folk can put in the effort. There is now some roadmap for webform per this https://chat.civicrm.org/civicrm/pl/jz96ujohjffsixbdbt8s89tsmy - will be great if you can help move the project along.  
  > **username_0**: And, again I was unclear:  My beef is primarily with the state of D8 itself, not with Civi.  It's been made clear by the team that Civi is not fully D8 compatible and I'm not knocking the progress -- it's excellent to be moving that way.  D8 itself, on the other hand, is disorganized, confusing, and incomplete for all but the most basic of sites -- even installing D8 is a nightmare of multiple options and confusing tutorials and official documentation, which, if you follow the official instructions, can even result in an installation that doesn't support automatic updates. Very disappointing.  
  
  ---
  
  ### Answer by username_2 on 2018-05-24. Score: 1
  
  Thanks for this report.
  
  You can report issues at <https://lab.civicrm.org/dev/drupal/issues>.
  
  While CiviCRM works under Drupal 8 fine in terms of independent CiviCRM functionality, the support for various integrations into Drupal 8 is still a work in progress. Coleman with support from David Snopek and Will put out a prototype / mockup of D8 webform civicrm May 25 2018. There is going to be a Make It Happen fundraising effort and I'm sure that developer resources and effort will be appreciated.
  
  For view support the plan is to implement a D8 version of entity civicrm module, and then leverage D8 Views support for entities. We at JMA recently pushed some changes to improve D8 entity civicrm support for contacts, but weren't using subtypes like you are. So it may or may not work when using entities. We are also ensuring there is good support for events in views via entities, and starting to help @jackrabbithanna with improvements to earlier Drupal versions of his entity civicrm module.
  
  Feel free to contact me at joe dot username_2 at jmaconsulting dot biz if you'd like us to get specific D8 integration issues working for you.
  
  > **Comments:**
  > **username_0**: Thanks for the orientation.  Knowing the strategy is very helpful.  We (my company) are very open to getting involved at the coding/documentation level, so we'll check into how we can contribute effectively.  I'll start by logging what I found in the issue tracker.  
  > **username_2**: Note I just editted to include new status of webform civicrm integration.  
  
  ---
  
  ### Answer by username_3 on 2019-06-27. Score: 0
  
  Are you using [civicrm\_entity](https://www.drupal.org/project/civicrm_entity/)? It seems to work when using that module. Tested on CiviCRM 5.14 and Drupal 8.6.
  
  [![CiviCRM View with CiviCRM Entity](https://i.sstatic.net/GIfoA.png)](https://i.sstatic.net/GIfoA.png)
  
  
  ---
  
  