Problem/Motivation

#3483234: Fix dependency on statistics

Statistics

Statistics
The Statistics module was deprecated in Drupal 10 and removed in Drupal 11. If your site is using the Statistics module, you need to install the contributed Statistics project.

The default .htaccess file changed to remove support for the Statistics module. The htaccess protection is now supplied by the contributed project. Sites using a custom .htaccess file should ensure that the rule, shown below, is removed from their own copy of the file.

# Allow access to Statistics module's custom front controller.
# Copy and adapt this rule to directly execute PHP files in contributed or
# custom modules or to run another PHP application in the same directory.
RewriteCond %{REQUEST_URI} !/core/modules/statistics/statistics\.php$
You must install the Statistics module to install Dashboards statistics.
    The Statistics module is deprecated. 

Proposed resolution

  • Add "drupal/statistics" with "*" in the composer.josn file.

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-10.0.4, varbase_dashboards-1.0.6

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3501434: Switched the dependency for the Statistics module from Drupal Core to a contrib module

Comments

rajab natshah created an issue. See original summary.

rajab natshah’s picture

Issue summary: View changes

  • rajab natshah committed 7706ca17 on 1.0.x
    Issue #3501434: Switch  the dependency for the Statistics module from...

  • rajab natshah committed d71a0945 on 1.1.x
    Issue #3501434: Switch  the dependency for the Statistics module from...
rajab natshah’s picture

Issue summary: View changes
Status: Active » Needs review
Issue tags: +varbase-10.0.4, +varbase_dashboards-1.0.6
rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-10.0.4