Issues for all projectshttps://www.drupal.org/project/issues?text=&projects=&status=Open&priorities=All&categories=All
enAuto tagging suggestions: Admin configurations to choose node typehttps://www.drupal.org/project/auto_tagging_suggestions/issues/2945249
<p>It's good to have configurable settings for which content types to enable auto tagging suggestions form.</p>Fri, 16 Feb 2018 08:10:18 +0000mahipal46https://www.drupal.org/project/auto_tagging_suggestions/issues/2945249Drupal core: Create a trait to implement \Drupal\Component\Plugin\ConfigurablePluginInterfacehttps://www.drupal.org/project/drupal/issues/2852463
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p><span class="project-issue-issue-link project-issue-status-info project-issue-status-7"><a href="/project/drupal/issues/2851635" title="Status: Closed (fixed)">#2851635: DefaultSingleLazyPluginCollection retains stale instance IDs</a></span> shows that base plugin classes should all merge default configuration in the same way. We should supply a trait to make it easy to correctly implement <code class="language-php">\Drupal\Component\Plugin\ConfigurablePluginInterface</code>.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Add new trait and use it where appropriate in core.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>None</p>
<h3 id="summary-api-changes">API changes</h3>
<p>New trait</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>None</p>Tue, 14 Feb 2017 11:03:49 +0000alexpotthttps://www.drupal.org/project/drupal/issues/2852463Drupal Commerce: Allow for bulk creation of couponshttps://www.drupal.org/project/commerce/issues/2902882
<p>It would be very helpful to allow for bulk creation of coupons. The requirements I would have for this are:</p>
<ul><li>Select number of coupons to generate</li>
<li>Custom prefix</li>
<li>Export of coupons, by Promotion</li>
</ul><p>If <span class="project-issue-issue-link project-issue-status-info project-issue-status-7"><a href="/project/commerce/issues/2902880" title="Status: Closed (fixed), Assigned to: bojanz">#2902880: Move coupons to a new tab</a></span> is the best route than this issue is blocked by it.</p>Thu, 17 Aug 2017 12:56:54 +0000chrisrockwellhttps://www.drupal.org/project/commerce/issues/2902882Drupal core: Migration dependencies are not set when using the migration_lookup process pluginhttps://www.drupal.org/project/drupal/issues/2945563
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>While looking at <a href="https://api.drupal.org/api/drupal/core!modules!migrate!src!Plugin!Migration.php/function/Migration%3A%3AfindMigrationDependencies" rel="nofollow"><code class="language-php">Migration::findMigrationDependencies</code></a>, I saw that migration dependencies are supposed to be automatically set when using the now deprecated 'migration' process plugin. This method has not been updated for the new 'migration_lookup' process plugin.</p>
<pre class="codeblock"><code class="language-php"> /**
* Find migration dependencies from the migration and the iterator plugins.
*
* @param $process
* @return array
*/
protected function findMigrationDependencies($process) {
$return = [];
foreach ($this-&gt;getProcessNormalized($process) as $process_pipeline) {
foreach ($process_pipeline as $plugin_configuration) {
if ($plugin_configuration['plugin'] == 'migration') {
$return = array_merge($return, (array) $plugin_configuration['migration']);
}
if ($plugin_configuration['plugin'] == 'sub_process') {
$return = array_merge($return, $this-&gt;findMigrationDependencies($plugin_configuration['process']));
}
}
}
return $return;
}
</code></pre><h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Add a check for the 'migration_lookup' process plugin so its dependencies are correctly set.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul><li><del>Add a failing test</del></li>
<li><del>Fix it</del></li>
<li>Review</li>
</ul><h3 id="summary-ui-changes">User interface changes</h3>
<p>None.</p>
<h3 id="summary-api-changes">API changes</h3>
<p>None.</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>None.</p>Sat, 17 Feb 2018 18:54:19 +0000maxocubhttps://www.drupal.org/project/drupal/issues/2945563Drupal core: Add setting to remain on a View page after saving ithttps://www.drupal.org/project/drupal/issues/2945243
<p>In Drupal 8.5.0-beta1 I am automatically returned to the Views index <code class="language-php">/admin/structure/views</code> after saving a View. This did not happen in 8.4.4. The individual View's page was still shown after saving, which was preferable behaviour.</p>Fri, 16 Feb 2018 07:47:40 +0000Nick Hopehttps://www.drupal.org/project/drupal/issues/2945243Login History: CARD.com should be replaced with [site:name]https://www.drupal.org/project/login_history/issues/2945595
<p>Quick fix: replace hard coded CARD.com with [site:name] in login_history_mail function in login_history.module.</p>Sun, 18 Feb 2018 04:01:39 +0000moehachttps://www.drupal.org/project/login_history/issues/2945595Physical Fields: Allow physical_dimensions to only collect 2 dimensionshttps://www.drupal.org/project/physical/issues/2830654
<p>Currently the field always collects length X width X height. It should be possible to select any two dimensions to collect, in order to cover additional use cases.</p>Sat, 26 Nov 2016 12:30:23 +0000bojanzhttps://www.drupal.org/project/physical/issues/2830654Display Suite Chained Fields: Don&#039;t output anything for empty fieldshttps://www.drupal.org/project/ds_chains/issues/2945593
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Like the title says</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>Sun, 18 Feb 2018 02:40:44 +0000larowlanhttps://www.drupal.org/project/ds_chains/issues/2945593Drupal core: User::load has random errors / wrong user infohttps://www.drupal.org/project/drupal/issues/2943391
<p>Currently using Drupal 8.4.0.</p>
<p>Noticed an issue when reading the authenticated users info (name, email, etc..) from a php content page. </p>
<p>I have the following code within a basic/php page.<br />
...<br />
$user = \Drupal\user\Entity\User::load(\Drupal::currentUser()-&gt;id());<br />
$email = $user-&gt;get('mail')-&gt;value;<br />
$name = $user-&gt;get('name')-&gt;value;<br />
$uid= $user-&gt;get('uid')-&gt;value;<br />
...</p>
<p>90% of the time this works properly. I get the information for the person / individual that is authenticated. But I have noticed, and have complaints from users of my site, that sometimes the name/email/uid is that of another registered user. Sometimes this changes when they refresh.. other times they re-authenticate to get it to clear. This appears to be random, I can not find the trigger to recreate.</p>Fri, 09 Feb 2018 00:53:38 +0000kuricharhttps://www.drupal.org/project/drupal/issues/2943391Configuration Read-only mode: Config whitelist to allow &quot;some&quot; configuration to be edited while lock is activehttps://www.drupal.org/project/config_readonly/issues/2826274
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>In some cases, contrib and core modules provide functionality that is driven by config that for some use cases might be considered as content or - in general - you want to allow CRUD operations. For instances Yaml Forms / Webforms, Page Manager instances, Menus, etc.</p>
<p>Currently Config Readonly allows a boolean choice: can or cannot change any configuration.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Provide a <code class="language-php">hook_config_readonly_whitelist_patterns()</code> where developers can define whitelisted configuration patterns for which CRUD operations are allowed even when Config Readonly is switched ON.</p>
<pre class="codeblock"><code class="language-php">/**
* Implements hook_config_readonly_whitelist_patterns().
*/
function MODULENAME_config_readonly_whitelist_patterns() {
return [
'*article2*',
'system.performance',
];
}
</code></pre><h3 id="original-summary">Original Issue summary</h3>
<p>First off, thanks for an excellent module; helps keep merge conflicts out of production, I'm sure it has saved us many headaches.</p>
<p>In some cases, modules and core provide functionality that is driven by config that for some use cases might be considered as content. For instance, at the company I work for, we like to provide our clients with a Form Builder so we give them the powerful YAML Form module. At the moment, we use a module that extends your module to add exceptions and use a combination of config import --partial and great care.</p>
<p>Since then I've been pointed to drush cexy and cimy (<a href="https://www.previousnext.com.au/blog/introducing-drush-cmi-tools" rel="nofollow">https://www.previousnext.com.au/blog/introducing-drush-cmi-tools</a>) which allow certain config to be ignored when you make a decision for a site to effectively consider them instead as content.</p>
<p>If you are open to it, I would love to submit a patch that does two things:</p>
<p>- allow the administrator to add exceptions (potentially with wildcards)<br />
- allow the administrator to additionally decide to have exceptions loaded from the ./drush/config-ignore.yml used by drush cexy/cimy</p>
<p>Would that be something you'd be willing to consider?</p>Thu, 10 Nov 2016 08:25:27 +0000scott_euserhttps://www.drupal.org/project/config_readonly/issues/2826274Domain Site Settings: Circular Error or Conflict with Language_Managerhttps://www.drupal.org/project/domain_site_settings/issues/2930391
<p>Upon install I get the following related to language_manager:</p>
<pre class="codeblock"><code class="language-php">The website encountered an unexpected error. Please try again later.
Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "language_manager", path: "language_request_subscriber -&gt; language_manager -&gt; config.factory -&gt; domain_site_settings.overrider -&gt; domain.negotiator". in Symfony\Component\DependencyInjection\Container-&gt;get() (line 271 of /srv/bindings/e20b9445053b47d2baa737e567d957ff/code/vendor/symfony/dependency-injection/Container.php).</code></pre>Wed, 13 Dec 2017 03:38:46 +0000magicmirrorhttps://www.drupal.org/project/domain_site_settings/issues/2930391Adminimal Administration Menu: Create version 7.x-1.8https://www.drupal.org/project/adminimal_admin_menu/issues/2936671
<p>To get the module to version 1.8 there things that needs to be fixed, this issue is a list of those issues.</p>
<h2>Code style</h2>
<p><span class="project-issue-issue-link project-issue-status-info project-issue-status-13"><a href="/project/adminimal_admin_menu/issues/2513984" title="Status: Needs work">#2513984: Fix code standard issues</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-8"><a href="/project/adminimal_admin_menu/issues/2513970" title="Status: Needs review">#2513970: Don't use the string 'TRUE' as a boolean</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-14"><a href="/project/adminimal_admin_menu/issues/2851590" title="Status: Reviewed &amp; tested by the community">#2851590: Add link to configuration in list</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-13"><a href="/project/adminimal_admin_menu/issues/2677036" title="Status: Needs work">#2677036: SlickNav unterminated statements cause aggregation to break JavaScript</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-1"><a href="/project/adminimal_admin_menu/issues/2582931" title="Status: Active">#2582931: css error in js/slicknav/slicknav.css</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-8"><a href="/project/adminimal_admin_menu/issues/2524064" title="Status: Needs review">#2524064: Fix minor typos in help text</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-1"><a href="/project/adminimal_admin_menu/issues/2945549" title="Status: Active">#2945549: Minor Typo on Configuration Page</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-1"><a href="/project/adminimal_admin_menu/issues/2513998" title="Status: Active">#2513998: Provide the MIT license with the SlickNav library, or remove the library</a></span><br />
...</p>
<h2>Bugs</h2>
<p>Disable automated testing on project<br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-8"><a href="/project/adminimal_admin_menu/issues/2641020" title="Status: Needs review, Assigned to: balintk">#2641020: Menu content gets overridden in responsive menu when it's manipulated by other modules</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-14"><a href="/project/adminimal_admin_menu/issues/2407007" title="Status: Reviewed &amp; tested by the community">#2407007: Uncaught TypeError when using with Media</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-13"><a href="/project/adminimal_admin_menu/issues/2704549" title="Status: Needs work">#2704549: missing variable declaration</a></span> &gt; newer version of slicknav?<br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-14"><a href="/project/adminimal_admin_menu/issues/2670572" title="Status: Reviewed &amp; tested by the community">#2670572: Top whitespace when shortcuts are displayed on a new line</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-14"><a href="/project/adminimal_admin_menu/issues/2906227" title="Status: Reviewed &amp; tested by the community">#2906227: Remove console.log($("#admin-menu-icon &gt; li &gt; a"));</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-14"><a href="/project/adminimal_admin_menu/issues/2839894" title="Status: Reviewed &amp; tested by the community">#2839894: TypeError: Drupal.admin is undefined</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-1"><a href="/project/adminimal_admin_menu/issues/2631216" title="Status: Active">#2631216: Shortcuts no longer have drop down functionality.</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-13"><a href="/project/adminimal_admin_menu/issues/2442271" title="Status: Needs work, Assigned to: ANDiTKO">#2442271: Missing Account Links with Mobile</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-14"><a href="/project/adminimal_admin_menu/issues/2717819" title="Status: Reviewed &amp; tested by the community">#2717819: Broken responsive menu</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-8"><a href="/project/adminimal_admin_menu/issues/2862208" title="Status: Needs review">#2862208: adminimal menu overlaps top elements of a site</a></span> (version 1.9?)<br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-1"><a href="/project/adminimal_admin_menu/issues/2640776" title="Status: Active">#2640776: Viewport meta added twice for some themes</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-1"><a href="/project/adminimal_admin_menu/issues/2336001" title="Status: Active">#2336001: set breakpoints?</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-14"><a href="/project/adminimal_admin_menu/issues/2717825" title="Status: Reviewed &amp; tested by the community">#2717825: Empty Administration link in responsive menu</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-13"><a href="/project/adminimal_admin_menu/issues/2751577" title="Status: Needs work">#2751577: Incorrect path for adminimal_admin_menu.js</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-8"><a href="/project/adminimal_admin_menu/issues/2537752" title="Status: Needs review, Assigned to: Kgaut">#2537752: 7.x-1.6 break environment_indicator toolbar color</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-14"><a href="/project/adminimal_admin_menu/issues/2644560" title="Status: Reviewed &amp; tested by the community">#2644560: Live environment indicator permissions not respected</a></span><br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-13"><a href="/project/adminimal_admin_menu/issues/2573313" title="Status: Needs work">#2573313: Spell errors</a></span><br />
...</p>
<h2>Other versions</h2>
<p><span class="project-issue-issue-link project-issue-status-info project-issue-status-1"><a href="/project/adminimal_admin_menu/issues/1846444" title="Status: Active">#1846444: Cannot scroll when menu extends below the page fold</a></span> (version 1.9)<br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-1"><a href="/project/adminimal_admin_menu/issues/2799769" title="Status: Active">#2799769: Considering the "Avoid using Open Sans font" option of Adminimal theme</a></span> (version 1.9)<br /><span class="project-issue-issue-link project-issue-status-info project-issue-status-13"><a href="/project/adminimal_admin_menu/issues/2525220" title="Status: Needs work">#2525220: RTL style</a></span> (version 1.10 / 2.1 ?)<br />
Support Libraries (version 2.0)<br />
Support jQuery Update (version 2.0)<br />
...</p>
<h2>Documentation</h2>
<p>Update credits.txt<br />
Update readme.txt<br />
Add changelog.txt<br />
Update project page with D8 alternative</p>Mon, 15 Jan 2018 06:22:55 +0000Tessa Bakkerhttps://www.drupal.org/project/adminimal_admin_menu/issues/2936671Social Auth: Dependency declaration should be done in info file, not in the requirements hookhttps://www.drupal.org/project/social_auth/issues/2943924
<p>The line<br /><code class="language-php">\Drupal::service('module_installer')-&gt;install(['social_api']);</code><br />
In the requirements hook, just shouldn't be there. The dependency in the info.yml file is enough.</p>
<p>Right now, if you want to use social_auth in an install profile, this creates issues, since it then tries to install social_api way too early.</p>
<p>Patch will follow soon.</p>Sun, 11 Feb 2018 17:36:50 +0000daftenhttps://www.drupal.org/project/social_auth/issues/2943924Contrib Team for Drupal Diversity &amp; Inclusion: Create initial designs to present to the Diversity &amp; Inclusion teamhttps://www.drupal.org/project/ddi_contrib/issues/2945141
<h2>Design Requirements</h2>
<ul><li>We need to make sure we are using the Drupal Diversity &amp; Inclusion Blue: <code class="language-php">#39B5F2</code></li>
<li>We need to make sure that we utilize the <a href="https://drupaldiversity.github.io/assets/drupaldiversity_logo_300.png" title="DD&amp;I Logo" rel="nofollow">DD&amp;I Logo</a>.</li>
</ul><h3>Items To Design</h3>
<ol><li>Header</li>
<li>Footer</li>
<li>Sidebar (Left/Right)</li>
<li>Basic Page (Node View)</li>
<li>Resource (Node View)</li>
<li>Resources (Views Listing)</li>
</ol>Thu, 15 Feb 2018 18:52:42 +0000laughnanhttps://www.drupal.org/project/ddi_contrib/issues/2945141Social Auth LinkedIn: Allow authentication even after user is logged inhttps://www.drupal.org/project/social_auth_linkedin/issues/2945590
<p>This is similar to <span class="project-issue-issue-link project-issue-status-info project-issue-status-2"><a href="/project/social_auth_instagram/issues/2942344" title="Status: Fixed">#2942344: Allow authentication even after user is logged in</a></span></p>Sun, 18 Feb 2018 00:43:25 +0000gvsohttps://www.drupal.org/project/social_auth_linkedin/issues/2945590Drupal.org project ownership: Offering to maintain Adminimal Admin Menuhttps://www.drupal.org/project/projectownership/issues/2936882
<p>After more than one month of no reply from the maintainer by e-mail or issue queue. I like to take over the project to fix all open issues and make the project more maintainable.</p>
<p>There won't be a Drupal 8 version, because that is covered in a different project.</p>
<p>If you like some more info, feel free to ask.</p>
<p>-- START: Original request to the current maintainer --</p>
<p>Hi ANDiTKO,</p>
<p>I like to offer you some help with fixing all issues in the issue queue as a co-maintainer of the project.</p>
<p>For multiple projects we at ezCompany use this module, because of the clean style. But it<br />
need some fixes here and there in the code.</p>
<p>My focus will be to create a version 1.8 with an empty issue queue. I already made a <a href="https://www.drupal.org/project/adminimal_admin_menu/issues/2936671" rel="nofollow">plan with the issues to fix</a> and closed several duplicated issues.</p>
<p>Normally I would create a few patches, but because of the many code style issues and other non-Drupal conform code. It will be a lot easier to fix it directly into git, with of course mentioning the creator of each patch.</p>
<p>For more information you can view my Drupal.org profile: <a href="https://www.drupal.org/u/tessa-bakker" rel="nofollow">https://www.drupal.org/u/tessa-bakker</a></p>Mon, 15 Jan 2018 23:22:25 +0000Tessa Bakkerhttps://www.drupal.org/project/projectownership/issues/2936882Media Recorder: Add support for selecting the proper uri scheme with media browserhttps://www.drupal.org/project/media_recorder/issues/2876770
<p>When using the media browser widget, media_recorder does not load the configured uri scheme in the field settings. Instead, the default public:// scheme is used. This makes it impossible to record private audio with media browser.</p>
<p>The following patch adds support for this by inspecting the media browser settings passed as query arguments in the form's #action </p>Mon, 08 May 2017 22:04:27 +0000bohemierhttps://www.drupal.org/project/media_recorder/issues/2876770JW Player: Player doesnt work for anonymous userhttps://www.drupal.org/project/jw_player/issues/2945592
<p>Hello<br />
I installed 8.1 beta5 version to my drupal 8.5 beta version and when I login to site everything works fine but when I logout player doesnt work<br />
I use JWplayer 7.12 and link field with formatter jwplayer<br />
I am using .m3u8 live stream url</p>
<p>Thank you</p>Sun, 18 Feb 2018 01:05:34 +0000cumhurhttps://www.drupal.org/project/jw_player/issues/2945592Drupal.org webmasters: Request for &#039;confirmed&#039; user rolehttps://www.drupal.org/project/webmasters/issues/2945591
Sun, 18 Feb 2018 00:52:02 +0000Archismanhttps://www.drupal.org/project/webmasters/issues/2945591Block Styles: Notice: Undefined index after placing blockhttps://www.drupal.org/project/block_styles/issues/2642010
<p>After placing a block with the main menu in menu layout i got following message:</p>
<p>Notice: Undefined index: in block_styles_form_block_form_alter() (line 65 of modules/block_styles/block_styles.module).</p>
<p>block_styles_form_block_form_alter(Array, Object, 'block_form')<br />
Drupal\Core\Extension\ModuleHandler-&gt;alter(Array, Array, Object, 'block_form')<br />
Drupal\Core\Form\FormBuilder-&gt;prepareForm('block_form', Array, Object)<br />
Drupal\Core\Form\FormBuilder-&gt;buildForm(Object, Object)<br />
Drupal\Core\Entity\EntityFormBuilder-&gt;getForm(Object)<br />
Drupal\block\Controller\BlockAddController-&gt;blockAddConfigureForm('system_menu_block:main', 'bartik')<br />
call_user_func_array(Array, Array)<br />
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}()<br />
Drupal\Core\Render\Renderer-&gt;executeInRenderContext(Object, Object)<br />
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;wrapControllerExecutionInRenderContext(Array, Array)<br />
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}()<br />
call_user_func_array(Object, Array)<br />
Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw(Object, 1)<br />
Symfony\Component\HttpKernel\HttpKernel-&gt;handle(Object, 1, 1)<br />
Drupal\Core\StackMiddleware\Session-&gt;handle(Object, 1, 1)<br />
Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle(Object, 1, 1)<br />
Drupal\page_cache\StackMiddleware\PageCache-&gt;pass(Object, 1, 1)<br />
Drupal\page_cache\StackMiddleware\PageCache-&gt;handle(Object, 1, 1)<br />
Drupal\ban\BanMiddleware-&gt;handle(Object, 1, 1)<br />
Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle(Object, 1, 1)<br />
Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle(Object, 1, 1)<br />
Stack\StackedHttpKernel-&gt;handle(Object, 1, 1)<br />
Drupal\Core\DrupalKernel-&gt;handle(Object)</p>Tue, 29 Dec 2015 17:32:37 +0000MartinMahttps://www.drupal.org/project/block_styles/issues/2642010Google Analytics: Remove user name from messageshttps://www.drupal.org/project/google_analytics/issues/2945533
<p>Hi,</p>
<p>This is a very minor issue, but could be related to GDPR so I decided to report.<br />
The problem is that Google Analytics saves messages from Drupal and shows them in the Analytics data. That's ok, but I noticed that in some messages a user name or his/her email (when username is an email address) will be saved to analytics data. So I can see now in my Google Analytics -events reports some of my users email addresses in the messages "You are now logged in as a user: "<a href="mailto:user@mail.com" rel="nofollow">user@mail.com</a>"</p>
<p>How to repeat:<br />
1. Enable Google analytics module and all check all "track messages type" checkboxes.<br />
2. Create a user and put username email address.<br />
3. Log in with that user<br />
4. Go to Google Analytics and see from the events reports, email address appears in the events at least in the messages "You are now logged in as ..."</p>
<p>To prevent this I can uncheck the "Track messages" from the module but then I loose all the messages from Analytics. </p>
<p>Is there a way to remove only the user data from the messages when sending them to Analytics? So the event in the Analytics data would look like "You are now logged in as: (removed)"</p>Sat, 17 Feb 2018 13:25:41 +0000jukka792https://www.drupal.org/project/google_analytics/issues/2945533Matomo Analytics: Convert tests to PHPUnithttps://www.drupal.org/project/matomo/issues/2941830
<p>Before adding tests to <span class="project-issue-issue-link project-issue-status-info project-issue-status-13"><a href="/project/piwik/issues/2826956" title="Status: Needs work">#2826956: Validation error when specific pages textarea is empty</a></span>.</p>
<p>It would be nice to convert simpletest tests into PHPUnit tests.</p>
<p>But is the Piwik -&gt; Matomo done?</p>Sat, 03 Feb 2018 11:03:16 +0000Grimreaperhttps://www.drupal.org/project/matomo/issues/2941830BitPay: Cart integrationhttps://www.drupal.org/project/bitpay/issues/2009272
<p>Does this module have any intended cart integration such as Ubercart or Commerce?</p>Fri, 31 May 2013 18:08:52 +0000TimeBandithttps://www.drupal.org/project/bitpay/issues/2009272Schema.org Metatag: Add support for the Book schema (D8)https://www.drupal.org/project/schema_metatag/issues/2937210
<p>Add support for the <a href="http://schema.org/Book" rel="nofollow">Book</a> schema on the D8 release.</p>Wed, 17 Jan 2018 03:28:40 +0000DamienMcKennahttps://www.drupal.org/project/schema_metatag/issues/2937210Metatag: Apostrophe encoded in page title when using Panels substitutionshttps://www.drupal.org/project/metatag/issues/2945589
<p>When using metatag_panels, it is possible to use Panels substitutions in replacement of Metatag tokens. </p>
<p>If an apostrophe is included in a Panels substitution for Page Title, it will print in the browser title bar as "<code class="language-php">&amp;#039;</code>". Similar to issue #2596753 for 8.x, the problem can be fixed if the title output is wrapped in <code class="language-php">decode_entities</code> (which is a Drupal 7 wrapper for <code class="language-php">html_entity_decode</code>).</p>
<p>Please review the attached patch, and let me know if this is an acceptable approach. Thanks.</p>Sat, 17 Feb 2018 23:55:26 +0000ron_shttps://www.drupal.org/project/metatag/issues/2945589Drupal core ideas: Restructure the Admin interfacehttps://www.drupal.org/project/ideas/issues/2755613
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The current admin interface divides admin pages mainly by Configuration, Structure and Content, but there is no clear definition of what is what. </p>
<p>For several modules, admin pages were placed in an earlier Drupal version, but since then their functionality has been increased (for example contact forms). Others contain user generated content (for example taxonomy terms). As a result, some pages are in places where they are not expected, and a number of issues try to fix the placing of few pages at a time in the current structure. (See list of related issues).</p>
<p>The lack of consistency also has a secondary effect of failing to properly guide appropriate placement of menu items by contrib modules.</p>
<p>During DevDaysMilan, we did an exercise to see whether we could define what's Configuration, Structure and Content. What we came up with instead is a different way of classifying admin pages as <strong>Content</strong>, <strong>Site administration</strong> and <strong>Site building</strong>; as well as Users, Modules, and Translations.</p>
<p>The idea is to organize the admin area into sections by tasks and whether those tasks represent the <strong>building of the new site</strong> (typically exported to code) or the <strong>ongoing maintenance of content and administration</strong> (ephemeral database entities). It also allows us to use the structure of the admin interface to show new users how Drupal works.</p>
<p><img src="/files/issues/Admin-structure-concept_0.png" alt="" /></p>
<p>Further thoughts:</p>
<ul><li>This classification is based on sites (or other projects) that are build by sitebuilders and themers - for other users who will then administrate the existing site (site administrators). They might need to change the recipient of an existing contact form, but not change the fields on the form. Or change the wording of the welcome email for new users, but not manage the fields and display of the user accounts in general.</li>
<li>Of course there will always be projects, where site administrators also need to access more structural tasks, but if their role has permission to do so these admin pages are still available. </li>
<li>All (lists of) content should go in the content section, including for example list of taxonomy terms, but we can use the operation links to guide users across site building, administration and and content.</li>
<li>The issue that some menu items and taxonomy terms are structural – provided as part of the site building – instead of user generated content remains unsolved by this, but there is also no regression since they are currently technically content.</li>
<li>Most reports can be placed under Administration as they help maintaining the site.</li>
</ul><h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Decide whether this is a good direction to proceed.</p>
<p>Then formulate a set of rules to check where each admin page should be placed (instead of individual pick the places). This would (a) show whether what we are doing works, and (b) provide a standard that contrib modules can follow.</p>
<p>During discussion at DevDays Milan, it was proposed to do this as a community initiative. </p>
<p><img src="/files/issues/admin-menu-changes.JPG" alt="The work in progress at DrupalDevDays" /></p>
<p><img src="/files/issues/mockup-of-menu.png" alt="a mockup of what the Content menu would then look like - more options!" /></p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>Yes.</p>
<h3 id="summary-api-changes">API changes</h3>
<p>Might be if paths are changing.</p>
<h3 id="summary-data-model-changes">Data model changes</h3>Sat, 25 Jun 2016 13:21:19 +0000ifrikhttps://www.drupal.org/project/ideas/issues/2755613OAuth 2.0: Make compatible with TranslatableRevisionableInterface in 8.5.xhttps://www.drupal.org/project/simple_oauth/issues/2945431
<p><span class="project-issue-issue-link project-issue-status-info project-issue-status-2"><a href="/project/drupal/issues/2878556" title="Status: Fixed">#2878556: Ensure that changes to untranslatable fields affect only one translation in pending revisions</a></span> and others introduced TranslatableRevisionableInterface which causes the following error:</p>
<p><code class="language-php">Class Drupal\simple_oauth\Authentication\TokenAuthUser contains 5 abstract methods and must therefore be declared abstract or implement the remaining methods</code></p>
<p>It looks like TokenAuthUser will have to implement the following:</p>
<ul><li>isLatestTranslationAffectedRevision</li>
<li>setRevisionTranslationAffectedEnforced</li>
<li>isRevisionTranslationAffectedEnforced</li>
<li>wasDefaultRevision</li>
<li>isDefaultTranslationAffectedOnly</li>
</ul><p>I'm surprised Content Moderation doesn't provide a way to opt out of this if an entity isn't translatable/revisionable. So I might be missing something.</p>Fri, 16 Feb 2018 20:56:40 +0000balsamahttps://www.drupal.org/project/simple_oauth/issues/2945431Search API Solr Search: Adopt to proposed changes in Search API to improve highlightinghttps://www.drupal.org/project/search_api_solr/issues/2912667
<pre class="codeblock"><code class="language-php">$item-&gt;setExtraData('highlighted_fields', $item_fields);
</code></pre><p>
$item_fields has to be an array keyed by the Search API field id / machine name and and array of highlighted HTML as value.</p>Fri, 29 Sep 2017 09:34:41 +0000mkalkbrennerhttps://www.drupal.org/project/search_api_solr/issues/2912667Search API: Processor plugins should expose their configshttps://www.drupal.org/project/search_api/issues/2945588
<p>Since Backend can provide highlighted snippets it's required to access some values of the config of the Highlight processor:</p>
<ul><li>Highlight returned field data</li>
<li>Highlight partial matches</li>
<li>Exclude fields from excerpt</li>
<li>Highlighting prefix</li>
<li>Highlighting suffix</li>
</ul><p>But I'm not sure if we should add explicit getters or something like getConfig() to all Processors. What do you think?</p>Sat, 17 Feb 2018 23:39:40 +0000mkalkbrennerhttps://www.drupal.org/project/search_api/issues/2945588Drush Language Commands : Convert for Drush 8/9/consolehttps://www.drupal.org/project/drush_language/issues/2914081
<p>Drush 9 introduces an entirely new format for commands, and stops supporting the long-standing (plugin).drush.inc after 9.0.0-beta4, so the commands need to be ported to the new format.</p>Thu, 05 Oct 2017 11:54:19 +0000fgmhttps://www.drupal.org/project/drush_language/issues/2914081Drush Language Commands : Add export option for consistent sorting of stringshttps://www.drupal.org/project/drush_language/issues/2891916
<p><strong>Problem/Motivation</strong><br />
We use this module in our deployment routine and have the following problem: developers/translators export translations to a po file which resides inside the project and is managed via git. When they do this the po file will be overridden and the order of the strings will most likely change. This makes it impossible for them to use git diff for verifying their changes. This sometimes leads to cases where translations just vanish from the po file without noticing.</p>
<p><strong>Proposed Solution</strong><br />
So we thought it would be really nice if the strings inside the po files were ordered consistently. Currently they are written out in the order they appear in the DB which can vary from machine to machine. I think the only reasonable ordering is by the <code class="language-php">msgid</code> resp. source string.<br />
I will attach a patch where I extend <code class="language-php">language-export-translations</code> with an option <code class="language-php">order</code> where one can activate the ordering by <code class="language-php">msgid</code>. I extended <code class="language-php">PoStreamWriter</code> and created something like a buffered writer which sorts the strings before finally writing them (I also thougt about extending <code class="language-php">PoDatabaseReader</code> but the relevant methods unfortunately are private, not protected.). For sorting I use <code class="language-php">strcmp</code>, which I think is sufficient for this use case.</p>
<p>Please feel free to review my code and suggest improvements if necessary. We have not yet tested this in real projects, but will do it soon :)</p>Mon, 03 Jul 2017 16:04:31 +0000kplanzhttps://www.drupal.org/project/drush_language/issues/2891916Drupal 8 Sandbox for Drupal Ladder: Rewrite description for URL alias on node/add/*https://www.drupal.org/project/1388780/issues/2945570
<p>Note: This issue is being posted here as an exercise by a participant in the <a href="http://drupalladder.org" rel="nofollow">http://drupalladder.org</a> ladder for contributing to core. Please don't do anything with this post. The real issue has already been resolved in Drupal 8. If you would like to try this exercise yourself, visit <a href="http://drupalladder.org" rel="nofollow">http://drupalladder.org</a> and click on Drupal Ladder<br />
Current:<br />
Optionally specify an alternative URL by which this content can be accessed. For example, type "about" when writing an about page. Use a relative path and don't add a trailing slash or the URL alias won't work.</p>
<p>Proposed:<br />
The alternative URL for this content. For example, type "about" when creating an about page. Use a relative path without a trailing slash</p>Sat, 17 Feb 2018 20:27:12 +0000Archismanhttps://www.drupal.org/project/1388780/issues/2945570Drupal core: Drupal 8 views tabshttps://www.drupal.org/project/drupal/issues/2693069
<p>I'm trying to create a view with tabs of different content. I've followed the instructions I found online in both video and text instructions but I am not seeing any tabs. I'm using the default Bartik theme if this matters. Is there some magic to this?</p>
<ol><li>I created a new view with 3 pages (paths portfolio/air, portfolio/earth, portfolio/fire)</li>
<li>I created the different filters for each page and got all 3 to display the correct content.</li>
<li>I added a menu setting to the air page, selected "Default menu tab" set the menu link title to "Air", then parent menu item "already exists".</li>
<li>I added a menu to the earth and fire pages, selected "Menu tab" set the menu link title to "Earth" and "Fire", then the parent "Main Navigation" (for lack of a better choice).</li>
</ol><p>No tabs anywhere.</p>
<p>I've played around with different things in the tab settings, all to no avail. Any help I could get would be much appreciated.</p>
<p>David Simmons</p>Wed, 23 Mar 2016 17:23:43 +0000aarailfanhttps://www.drupal.org/project/drupal/issues/2693069MailChimp: mailchimp_interest_groups_form_elements() may throw an uncaught exceptionhttps://www.drupal.org/project/mailchimp/issues/2928786
<p>if an exception is thrown during <code class="language-php">$mc_lists-&gt;getInterests()</code> it is not caught and in my experience would bring the site down. I'll attach a patch that wraps in a try/catch block.</p>Wed, 06 Dec 2017 01:33:11 +0000aklumphttps://www.drupal.org/project/mailchimp/issues/2928786Drupal core: Discuss how config entity types can opt out of REST supporthttps://www.drupal.org/project/drupal/issues/2920756
<p>Requirements:</p>
<ul><li>Some config entites don't have full validation yet</li>
<li>Some config entities might not want to be exposed at all?</li>
</ul><p>Coming from <span class="project-issue-issue-link project-issue-status-info project-issue-status-4"><a href="/project/drupal/issues/2300677" title="Status: Postponed">#2300677: [PP-1] POST/PATCH/DELETE config entities via REST for config entity types that support validation</a></span></p>Fri, 03 Nov 2017 11:29:38 +0000dawehnerhttps://www.drupal.org/project/drupal/issues/2920756Custom Menu Links Visibility: Notice: Undefined index: label in field_token_info_alter()https://www.drupal.org/project/menu_link_content_visibility/issues/2945587
<p>We have this bug when we use token module on this site. After cache rebuild appears a notice Undefined index: label in field_token_info_alter()</p>Sat, 17 Feb 2018 22:49:07 +0000Romixuahttps://www.drupal.org/project/menu_link_content_visibility/issues/2945587Paragraphs: Suddenly Cannot Add Paragraphshttps://www.drupal.org/project/paragraphs/issues/2945449
<p>A site I have has nodes with paragraphs. The paragraphs have several fields.</p>
<p>At some point, I ceased being able to add paragraphs to a saved node. I suspect one of a few custom modules I am developing. So, not asking to diagnose it, but am asking</p>
<p>a. Is there a hook or code location you'd suggest adding diagnostic code to to figure this out or<br />
b. Any suggestions on things that have been seen to block adding? Nothing appears in the watchdog.</p>Fri, 16 Feb 2018 21:53:49 +0000Cayennehttps://www.drupal.org/project/paragraphs/issues/2945449LimeSurvey Sync: Showing error Notice: Undefined index: ls_seed in LimesurveySyncInstallAnswer-&gt;schema_ls_fields_variables() (line 212https://www.drupal.org/project/limesurvey_sync/issues/2937591
<p>Hi,</p>
<p>I just setup limesurvey_sync module in my fresh drupal 7 . Also install limesurvey in same server.In limesurvey admin interface I created a new survey and add some question. When I try to add this Survey in my drupal 7 (<a href="http://www.demo.com/admin/structure/limesurvey/surveys/manage/add" rel="nofollow">www.demo.com/admin/structure/limesurvey/surveys/manage/add</a>) It showing me error when I try save this. </p>
<p>LimeSurvey end url has been edited.<br />
Survey Xenix Survey (711148) has been created.<br />
Error message<br />
Notice: Undefined index: ls_seed in LimesurveySyncInstallAnswer-&gt;schema_ls_fields_variables() (line 212 of /home/demo/domains/demo.com/public_html/client/d7/sites/all/modules/limesurvey_sync/api/limesurvey_sync_answer.class.inc).</p>
<p>the LimeSurvey fields ls_seed have not been imported into Drupal (from answer 711148).</p>
<p>Can anyone help me to solve this issue.</p>
<p>Thankyou</p>Thu, 18 Jan 2018 08:08:26 +0000pankajxenixhttps://www.drupal.org/project/limesurvey_sync/issues/2937591Better Exposed Filters: Remove @file tag docblockhttps://www.drupal.org/project/better_exposed_filters/issues/2931035
<p>As per coding standard documentation at '<a href="https://www.drupal.org/coding-standards/docs" rel="nofollow">https://www.drupal.org/coding-standards/docs</a>', @file tag docblock should not be there in the files that contain a namespaced class/interface/trait, whose file name is the class name with a .php extension.</p>Fri, 15 Dec 2017 14:12:52 +0000Venkatesh Rajan.Jhttps://www.drupal.org/project/better_exposed_filters/issues/2931035Flag: Use the testing fixture container in tests instead of \Drupalhttps://www.drupal.org/project/flag/issues/2945578
<p>The title of this issue parallels </p>
<p><span class="project-issue-issue-link project-issue-status-info project-issue-status-1"><a href="/project/drupal/issues/2066993" title="Status: Active">#2066993: Use the testing fixture container in tests instead of \Drupal</a></span></p>
<p>Something bugged me about the way I wrote the test in </p>
<p><span class="project-issue-issue-link project-issue-status-info project-issue-status-2"><a href="/project/flag/issues/2944815" title="Status: Fixed">#2944815: Update FlagBookmarkUITest</a></span> </p>
<p>I introduced a \Drupal::service() call .. and so this weekend I went back and worked out that I had made a mistake</p>
<p>As a maintenance cleanup I think we should use $this-&gt;container-&gt;get() as intended where possible.</p>Sat, 17 Feb 2018 21:56:11 +0000martin107https://www.drupal.org/project/flag/issues/2945578Simple Google Custom Search Engine: Fix composer.jsonhttps://www.drupal.org/project/simple_gse_search/issues/2944642
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Can't install the module with composer because it has an incorrect name.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>Wed, 14 Feb 2018 08:11:15 +0000larowlanhttps://www.drupal.org/project/simple_gse_search/issues/2944642simplytest.me: The core global $is_https is not TRUE.https://www.drupal.org/project/simplytest/issues/2944300
<p>This needs to be added to the settings.php file. See <a href="https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/drupal_is_https/7.x" rel="nofollow">https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/drup...</a></p>
<pre class="codeblock"><code class="language-php">if ((isset($_SERVER['HTTPS']) &amp;&amp; strtolower($_SERVER['HTTPS']) == 'on')
|| (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &amp;&amp; $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
|| (isset($_SERVER['HTTP_HTTPS']) &amp;&amp; $_SERVER['HTTP_HTTPS'] == 'on')
) {
$_SERVER['HTTPS'] = 'on';
}
</code></pre><p>
If you eval this it fails even though it's a https site.</p>
<pre class="codeblock"><code class="language-php">var_export(drupal_is_https());
</code></pre>Tue, 13 Feb 2018 03:16:38 +0000mikeytown2https://www.drupal.org/project/simplytest/issues/2944300Drupal core: Handle entity_references related to Drupal 6 and 7 node translations with different IDshttps://www.drupal.org/project/drupal/issues/2912348
<p>Postponed on <span class="project-issue-issue-link project-issue-status-info project-issue-status-2"><a href="/project/drupal/issues/2935951" title="Status: Fixed">#2935951: Copy migrate source plugin from migrate_drupal_d8 into migrate_drupal</a></span></p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>In <a href="https://www.drupal.org/node/2746527#comment-12272075" rel="nofollow">#30</a> of the parent issue phenaproxima suggested a plan for handling entity references, links, menu_items, user_ratings.</p>
<p>The issue is for working on the entity_reference fields.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>The issue proposed solution is:</p>
<blockquote><p>Let's create more migrations to deal with this. They would have to run after the node migrations (d6_node:*, d7_node:*, and their ilk), which we can accomplish using the existing migration dependency system. They could easily loop through all entity reference fields, and then simply use the migration_lookup plugin to adjust the value.</p></blockquote>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Write the test and patch<br />
Test it some more<br />
Commit it!</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>N/A</p>
<h3 id="summary-api-changes">API changes</h3>
<p>N/A</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>N/A</p>Thu, 28 Sep 2017 10:05:05 +0000quietonehttps://www.drupal.org/project/drupal/issues/2912348Open Deals Module: Port to Drupal 8https://www.drupal.org/project/opendeals_module/issues/2945580
<p>Hello,</p>
<p>Are there any plans to port this module to D8 (Drupal Commerce 2?</p>
<p>Many thanks</p>Sat, 17 Feb 2018 22:14:13 +0000andrews501https://www.drupal.org/project/opendeals_module/issues/2945580Panels: Page title does not displayhttps://www.drupal.org/project/panels/issues/2869412
<p>Sorry if this is a duplicate, but I couldn't find an issue for it. I'm trying to add a page title block to a panels display that has the page title configured directly through the Panels UI. If I use a block outside of the panels layout, it displays fine, but when I place the page title block inside the panels display, nothing shows up. Looking a little deeper, it appears there's a matching issue for the block page variant <span class="project-issue-issue-link project-issue-status-info project-issue-status-13"><a href="/project/page_manager/issues/2626090" title="Status: Needs work">#2626090: Page title block placed on block page renders empty</a></span>, but I can't find anything for Panels.</p>Thu, 13 Apr 2017 13:25:28 +0000rbaylisshttps://www.drupal.org/project/panels/issues/2869412Calendar: undefined $node bug in calendar_row_pluginhttps://www.drupal.org/project/calendar/issues/1783814
<p>Using current dev of calendar I saw this notice:</p>
<pre class="codeblock"><code class="language-php">
Notice: Undefined variable: node in calendar_plugin_row-&gt;explode_values() (line 558 of /opt/www/test7h.whs/modules/calendar/includes/calendar_plugin_row.inc).
Notice: Trying to get property of non-object in calendar_plugin_row-&gt;explode_values() (line 558 of /opt/www/test7h.whs/modules/calendar/includes/calendar_plugin_row.inc).
</code></pre><p>
I had a look and indeed $node is there but it is not defined anywhere in the function, looking at the code I decided that it should be changed to $entity, did that and the error went away.</p>
<p>Patch attached.</p>Thu, 13 Sep 2012 16:31:43 +0000hutchhttps://www.drupal.org/project/calendar/issues/1783814Search API: SearchApiException: Search server with machine name Foo specifies illegal service class search_api_db_servicehttps://www.drupal.org/project/search_api/issues/1903004
<p>I've the following Fatal Error on the front page:</p>
<pre class="codeblock"><code class="language-php">SearchApiException: Unknown server mp_sg_solr_server specified for index job_search. in SearchApiIndex-&gt;server() (line 377 of modules/search_api/includes/index_entity.inc).
</code></pre><p>
I've removed mp_sg_solr_server from all the features, but this error is still there. It doesn't exist in any file. I can't even clear the cache to fix the problem, because this error appears.<br />
Related old issue: <span class="project-issue-issue-link project-issue-status-info project-issue-status-7"><a href="/project/search_api/issues/1206126" title="Status: Closed (fixed)">#1206126: SearchApiException: Unknown server profile_server</a></span></p>Wed, 30 Jan 2013 12:38:20 +0000kenorbhttps://www.drupal.org/project/search_api/issues/1903004Drupal core: &quot;Clear all recorded statistics&quot; buttonhttps://www.drupal.org/project/drupal/issues/54798
<p>Hi,</p>
<p>I think it would be helpful to have a "clear all recorded statistics" button. For example, this would be useful for when a site transitions from being a private "development" site to being a public "live" site.</p>Sun, 19 Mar 2006 15:05:15 +0000dan_aka_jackhttps://www.drupal.org/project/drupal/issues/54798Drupal core: Entity reference selection plugins break when not following an undocumented ID patternhttps://www.drupal.org/project/drupal/issues/2649712
<p>After debugging and struggling for hours trying to implement an entity reference selection plugin (ERSP), I've come to the following conclusion: An ERSP <strong>must</strong> declare its ID in the form of <em>&lt;group&gt;:&lt;id&gt; </em>or it will not work whatsoever.</p>
<p>Assume an annotation like this:</p>
<pre class="codeblock"><code class="language-php">/**
* Only shows the group roles which are available for a group type.
*
* @EntityReferenceSelection(
* id = "group_type_roles",
* label = @Translation("Group type role selection"),
* entity_types = {"group_role"},
* group = "group_type",
* weight = 0
* )
*/
class GroupTypeRoleSelection extends DefaultSelection {
}
</code></pre><p>
Examples of places where it breaks below.</p>
<h3>1. When saving FieldConfig entities with a handler set to an "invalid" ERSP ID</h3>
<p>Assume a FieldConfig like this:</p>
<pre class="codeblock"><code class="language-php"> FieldConfig::create([
// The storage is that of an ER field.
'field_storage' =&gt; FieldStorageConfig::loadByName('group_content', 'group_roles'),
'bundle' =&gt; 'foo',
'label' =&gt; $this-&gt;t('Roles'),
'settings' =&gt; [
'handler' =&gt; 'group_type_role',
'handler_settings' =&gt; [],
],
])-&gt;save();
</code></pre><p>
If you try to save a field configuration with the ID directly set, your site breaks. This is because when it tries to load the plugin in SelectionPluginManager::getInstance(), it calls SelectionPluginManager::getPluginId() with $target_type "group_role" (correct) and $base_plugin_id "group_type_role" (breaks).</p>
<p>The reason it breaks is because SelectionPluginManager::getPluginId() will then treat the $base_plugin_id as a group name, where it's actually a plugin name. It can therefore not find any plugin ID to return, leading to the plugin not being instantiated and your ER field breaking completely.</p>
<h3>2. When saving FieldConfig entities with a handler set to a group</h3>
<p>In other places in code, it seems acceptable to just define a group as the handler setting, because it will then fall back to the handler with the highest weight for that group. This could be desirable behavior, as it allows other modules to intervene by defining a plugin with a higher weight.</p>
<p>As proven above, SelectionPluginManager::getPluginId() actually expects a group name instead of a plugin name.</p>
<p>Assume a FieldConfig like this:</p>
<pre class="codeblock"><code class="language-php"> FieldConfig::create([
// The storage is that of an ER field.
'field_storage' =&gt; FieldStorageConfig::loadByName('group_content', 'group_roles'),
'bundle' =&gt; 'foo',
'label' =&gt; $this-&gt;t('Roles'),
'settings' =&gt; [
'handler' =&gt; 'group_type',
'handler_settings' =&gt; [],
],
])-&gt;save();
</code></pre><p>
The code in <span class="project-issue-issue-link project-issue-status-info project-issue-status-7"><a href="/project/drupal/issues/2578249" title="Status: Closed (fixed)">#2578249: Some e_r fields get the wrong Selection handler</a></span> breaks this, however, unless your ERSP follows the naming pattern mentioned above. </p>
<p>This code works fine everywhere, up to the point where field_field_config_presave() intervenes and overwrites your handler setting with 'group_type_roles' because of the following lines:</p>
<pre class="codeblock"><code class="language-php"> list($current_handler) = explode(':', $field-&gt;getSetting('handler'), 2);
$field-&gt;setSetting('handler', $selection_manager-&gt;getPluginId($target_type, $current_handler));
</code></pre><p>
As stated in the previous section, having a handler set to 'group_type_roles' will break your site.</p>
<h3>3. When trying to configure an ER field to use your plugin through the UI</h3>
<p>In EntityReferenceItem::fieldSettingsForm(), there is code that completely ignores your ERSP unless it follows the aforementioned plugin ID pattern:</p>
<pre class="codeblock"><code class="language-php"> // Get all selection plugins for this entity type.
$selection_plugins = \Drupal::service('plugin.manager.entity_reference_selection')-&gt;getSelectionGroups($this-&gt;getSetting('target_type'));
$handlers_options = array();
foreach (array_keys($selection_plugins) as $selection_group_id) {
// We only display base plugins (e.g. 'default', 'views', ...) and not
// entity type specific plugins (e.g. 'default:node', 'default:user',
// ...).
if (array_key_exists($selection_group_id, $selection_plugins[$selection_group_id])) {
$handlers_options[$selection_group_id] = Html::escape($selection_plugins[$selection_group_id][$selection_group_id]['label']);
}
elseif (array_key_exists($selection_group_id . ':' . $this-&gt;getSetting('target_type'), $selection_plugins[$selection_group_id])) {
$selection_group_plugin = $selection_group_id . ':' . $this-&gt;getSetting('target_type');
$handlers_options[$selection_group_plugin] = Html::escape($selection_plugins[$selection_group_id][$selection_group_plugin]['base_plugin_label']);
}
}
</code></pre><p>
This would only list my plugin if it had an ID of 'group_type' or 'group_type:group_role'. Do note that my plugin is under <code class="language-php">$selection_plugins['group_type']['group_type_role']</code> and can thus not be found by the above code.</p>
<p><strong><em>All of the above leads to the conclusion that your ERSP must declare its ID as mentioned at the top of this issue summary or it will just not work.</em></strong></p>Wed, 13 Jan 2016 17:09:54 +0000kristiaanvandeneyndehttps://www.drupal.org/project/drupal/issues/2649712Geocoder: Add support for Country field(from address)https://www.drupal.org/project/geocoder/issues/2937128
Tue, 16 Jan 2018 19:04:39 +00005n00pyhttps://www.drupal.org/project/geocoder/issues/2937128