Updates
Merged all patches into a merge request and added the D10 compatibility fixes.
Problem/Motivation
The intent of this issue is to help the maintainer(s) coordinate community efforts in the creation of a stable release. Community involvement is only intended as a suggestion; it is up to maintainers to ultimately decide the creation of, and what goes into, a stable release. If you are not interested in using this issue, please mark the issue as Fixed or Closed (works as designed).
There are many benefits to publishing a stable release for a module.
Release-blocker issues
"Issue #3239152: Drupal 9 - Deprecated code":
"https://www.drupal.org/files/issues/2021-10-29/deprecated-entity-query-3...",
"Issue #3200711: cannot add an action to a condition ":
"https://www.drupal.org/files/issues/2021-05-15/cannot_add_action-3200711...",
"Issue #3123554: Execution of scheduled tasks is completely broken":
"https://www.drupal.org/files/issues/2021-08-13/business_rules-schedule_t...",
"Issue #3056302: Variables placed in the email body aren't replaced by their actual value":
"https://www.drupal.org/files/issues/2020-01-21/collect_variables-3056302...",
"Issue #3087989: Duplicated condition":
"https://www.drupal.org/files/issues/2020-02-06/duplicate-condition-30879...",
"Issue #3250592: Class RedirectResponse not found":
"https://www.drupal.org/files/issues/2021-11-22/3250592-class-redirect-re...",
"Issue #3202890: Notice: Trying to access array offset on value of type null in Drupal\business_rules\Plugin\BusinessRulesAction\SendEmail->getSettingsForm() (line 118 of modules/contrib/business_rules/src/Plugin/BusinessRulesAction/SendEmail.php).":
"https://www.drupal.org/files/issues/2022-04-06/send-email-action-access-...",
"Issue #3027292: HTML format mails showing markup tags":
"https://www.drupal.org/files/issues/2022-04-06/html-format-mails-3027292...",
"Issue #3274409: Show a system message action is not rendred":
"https://www.drupal.org/files/issues/2022-04-11/show-a-system-message-act...",
"Issue #3067571: Variable evaluation is skipped when multiple events are processed within a single request":
"https://www.drupal.org/files/issues/2022-04-12/business_rules-variables_...",
"Issue #3257814: implode() Error":
"https://www.drupal.org/files/issues/2022-01-21/implode-error-3257814-5.p...",
Good-to-fix issues
Above and beyond tasks
- Create issue fix list for stable release using the grn tool.
Remaining tasks
- Establish a list of release-blockers and 'good-to-fix' issues for a stable release.
- Resolve above issues blocking the release of a stable release.
- Craft changelog for new release.
- Create new release.
Do you have resources you'd like to contribute to this template? Have feedback on the stable release request issue template? We want your feedback: #3239062: 'Stable Release Request' Issue Template
Original issue summary
Problem/Motivation
@colan, would it be possible to commit some patches to --dev and possibly in the feature tag a 2.0.0-beta2 release? Thanks for considering.
Proposed resolution
"Issue #3239152: Drupal 9 - Deprecated code":
"https://www.drupal.org/files/issues/2021-10-29/deprecated-entity-query-3...",
"Issue #3200711: cannot add an action to a condition ":
"https://www.drupal.org/files/issues/2021-05-15/cannot_add_action-3200711...",
"Issue #3123554: Execution of scheduled tasks is completely broken":
"https://www.drupal.org/files/issues/2021-08-13/business_rules-schedule_t...",
"Issue #3056302: Variables placed in the email body aren't replaced by their actual value":
"https://www.drupal.org/files/issues/2020-01-21/collect_variables-3056302...",
"Issue #3087989: Duplicated condition":
"https://www.drupal.org/files/issues/2020-02-06/duplicate-condition-30879...",
"Issue #3250592: Class RedirectResponse not found":
"https://www.drupal.org/files/issues/2021-11-22/3250592-class-redirect-re...",
This is what I use in production now. We can add more to this list.
Issue fork business_rules-3261552
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
lexsoft commentedComment #3
lexsoft commentedComment #4
Duvan.Slabbert commented+1 on this. I think its time to put some pressure on getting this done.
Comment #5
kazah commented+1 for this update
Comment #6
WebbehComment #7
Duvan.Slabbert commentedI would also like to add the following to the list of things i needed to do as well.
https://www.drupal.org/project/drupal/issues/3180227#comment-13890098
https://www.drupal.org/project/business_rules/issues/2998984#comment-131...
https://www.drupal.org/project/business_rules/issues/3067571#comment-135...
Comment #8
lexsoft commentedComment #9
lexsoft commentedComment #10
lexsoft commentedComment #11
lexsoft commentedComment #12
lexsoft commentedComment #13
lexsoft commentedComment #15
lexsoft commentedComment #16
lexsoft commentedComment #18
rcodinaI've just fixed the following error reported to me by upgrade_status module after applying MR patch.
Comment #19
rcodinaJust fixed the following error which happens when editing entity fields of certain types: link, color, etc:
I've taken the code to fix it from #3286389: Automated Drupal 10 compatibility fixes patch (MR13). In that issue, they use the same piece of code multiple times in
business_rules.modulebut I only applied it in the line 293 because this line was the only one withproperty_existschecking. I've been doing some testing and in the other cases the access tooriginalproperty doesn't fail.Comment #20
rcodinaJust enabled testing. All style and testing errors needs to be fixed.
We need to add a composer.json like in #3286389: Automated Drupal 10 compatibility fixes but adding a dependency with dbug module too. However, this only could led to composer dependency errors until the dbug module has an official Drupal 10 release. Meanwhile, the
mglaman/composer-drupal-lenientcomposer plugin could be used to fix this problem.Comment #21
rcodinaAs expected, the latest commit didn't pass the composer validation because dbug hasn't an official D10 release yet. We can use lenient on local environment but I don't know if GitlabCI can be configured to use it. We need to specify this dependency to pass all the tests.
Comment #22
rcodinaI'm just rerunning pipeline again since we already have a Drupal 10 compatible version of "dBug for Drupal".
@lexsoft Which issues are included on your first commit of MR15? Are the ones listed under Proposed resolution?
Comment #23
lexsoft commented@rcodina,
The MR15 includes all of this:
Comment #24
rcodinaThanks for the list @lexsoft! I'm pushing all linked issues in a new branch 3.x one by one so I can give the deserved credit to all contributors.
Comment #25
rcodinaComment #26
rcodina@lexsoft Could you please share me the contents of patches/business_rules-php_8.1_deprecaation_errors.patch?
Comment #27
rcodina@lexsoft The contents of patches/business_rules-php_8.1_deprecaation_errors.patch won't be necessary.
Comment #28
rcodinaAll tests ok with latest commits.
Comment #29
rcodinaComment #30
rcodinaComment #32
rcodinaGitlab MR has not given credit to me :_(
Comment #33
lexsoft commented@rcodina fantastic work! Going to test this the following week.
Comment #35
rcodinaJust added empty commit to fix credit. Just released 3.0.0-beta1.
@lexsoft Thanks for all support!