🇦🇺Australia @pendashteh

Account created on 24 October 2008, about 16 years ago
#

Recent comments

🇦🇺Australia pendashteh

Based on current nominations, my vote would go to Mike Richo (from Australia).

Current board members are:
- Avi Schwab, President (froboy) - USA
- Leslie Glynn, Vice President (leslieg) - USA
- Sean Walsh, Secretary (seantwalsh) - USA
- John Picozzi (johnpicozzi) - USA
- Matthew Saunders (MatthewS) - USA (Outgoing)
- Bert Boerland (bertboerland) - Netherlands
- Suchi Garg (gargsuchi) - Australia

5 out of 7 members are from the US and that includes the outgoing member, Matthew. I would vote for Mike from Australia over Mike from the US mainly to bring more representation from outside the US to the committee. Otherwise, based on their profiles, both Mikes appear as great additions to the working group committee.

I would also like to highlight the lack of representation from other regions - as an observation and not a complain. Regional representation would often bring language and cultural representation with it. If that's desired, some potential approaches for consideration would be to expand the committee with regional quotas or to encourage active local members in non-represented regions for future nominations.

Wishing all the best for the current and the new members of the committee. For Matthew who is leaving and for Mike from US for his contributions to the local communities.

🇦🇺Australia pendashteh

That's exactly the problem. The config page.
I have 'node/2' aliased as 'home'.
In Site Config page I set the homepage as 'home' and it accepts it. As you say it should normalize it (change it to 'node/2') but it does not.
It behaves exactly reverse; When I try to set homepage as 'node/2' it changes it back to 'home'!

The only way to get around this is to clear alias from 'node/2' and then set 'node/2' as homepage. So as you see this is a bug. I haven't set any variable manually, there is no custom module and I haven't use drush commands you told. It's a fairly fresh install and is happening to me in each project.
I think it worth to mention that I have two languages defined and the default language is not English in my projects.
And a list of contrib modules in two of my projects that have this problem:

addressfield    ckeditor            commerce_option              entity            job_scheduler  pathauto          views
admin_language  ckeditor_link       commerce_product_attributes  feeds             l10n_update    README.txt        views_field_view
auto_nodetitle  commerce            commerce_shipping            field_collection  menu_block     rules
backup_migrate  commerce_examples   ctools                       field_group       nodeblock      taxonomy_display
block_class     commerce_flat_rate  ds                           filefield_paths   panels         token
admin_language  ckeditor_link  entity             filefield_paths   link      README.txt       taxonomy_menu  xmlsitemap
backup_migrate  ctools         entityreference    google_analytics  metatag   registration     token
block_class     ds             field_group        insert            panels    rules            views
ckeditor        elements       field_permissions  l10n_update       pathauto  select_or_other  webform
🇦🇺Australia pendashteh

It indeed does not and here is the bug.

Take a look at what happens:

function drupal_path_initialize() {
  // Ensure $_GET['q'] is set before calling drupal_normal_path(), to support
  // path caching with hook_url_inbound_alter().
  // $_GET['q'] --> string(0) "" 
  if (empty($_GET['q'])) {
    $_GET['q'] = variable_get('site_frontpage', 'node');
    // *** $_GET['q'] --> "home" ; It's the alias and that is OK
  }
  $_GET['q'] = drupal_get_normal_path($_GET['q']);
  // *** $_GET['q'] --> "node/2" ; returns back to source.
}

As you see, the output is 'node/2' not 'home'. first it set $_GET['q'] to variable_get('site_frontpage', 'node'); that's exactly what is checked by drupal_is_front(), but then it reverts back to the source by calling drupal_get_normal_path().

It's apparent the following code simply fails:

function drupal_is_front_page() {
  // Use the advanced drupal_static() pattern, since this is called very often.
  static $drupal_static_fast;
  if (!isset($drupal_static_fast)) {
    $drupal_static_fast['is_front_page'] = &drupal_static(__FUNCTION__);
  }
  $is_front_page = &$drupal_static_fast['is_front_page'];

  if (!isset($is_front_page)) {
    // As drupal_path_initialize updates $_GET['q'] with the 'site_frontpage' path,
    // we can check it against the 'site_frontpage' variable.
    $is_front_page = ($_GET['q'] == variable_get('site_frontpage', 'node'));
    // *** $_GET['q'] --> 'node/2', variable_get('site_frontpage', 'node') --> 'node/2'
  }

  return $is_front_page;
}
Production build 0.71.5 2024