activity_fix_trigger_weight() does not work when pathauto's weight is >= 2

Created on 11 August 2011, about 14 years ago
Updated 29 October 2025, 6 days ago

activity_fix_trigger_weight() sets trigger's weight to 2 regardless of what pathauto's weight is.

The goal is to make sure trigger's weight is higher than pathauto's weight. If pathauto's weight is 2 or higher when Activity is installed, setting trigger's weight to 2 does not fix the problem.

Because of this, it is not possible via the UI to get rid of the Activity Trigger Weight warning at admin/reports/status when pathauto's weight is >= 2.

See πŸ› Adjust Trigger module's weight automatically on install. Closed: outdated for more information.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States marcp Portland, OR, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024