Skip to content

[4.3] Inject the database into workflow#37628

Merged
obuisard merged 14 commits intojoomla:4.3-devfrom
Digital-Peak:j4/wrokflow/db-cleanup
Jan 19, 2023
Merged

[4.3] Inject the database into workflow#37628
obuisard merged 14 commits intojoomla:4.3-devfrom
Digital-Peak:j4/wrokflow/db-cleanup

Conversation

@laoneo
Copy link
Copy Markdown
Member

@laoneo laoneo commented Apr 23, 2022

Summary of Changes

Ongoing effort to inject the database into components and get rid of the deprecated Factory::getDbo(); calls. As workflow offers already the possibility to inject the database, this pr changes the usages where a workflow is instantiated to inject the dependencies. Additionally it deprecates the usage of null dependencies and removes some dead code.

Testing Instructions

  • Enable workflow in the articles manager
  • Open the article form

Actual result BEFORE applying this Pull Request

All works.

Expected result AFTER applying this Pull Request

All works.

@laoneo laoneo changed the base branch from 4.2-dev to 4.3-dev June 24, 2022 17:39
@laoneo laoneo changed the title [4.2] Inject the database into workflow [4.3] Inject the database into workflow Jun 24, 2022
@laoneo laoneo removed the PR-4.2-dev label Jun 24, 2022
@HLeithner HLeithner changed the base branch from 4.3-dev to 4.2-dev June 27, 2022 15:53
@joomla-bot
Copy link
Copy Markdown
Contributor

A new pull request has been created automatically to convert this PR to the PSR-12 coding standard. The pr can be found at Digital-Peak#26

@laoneo laoneo changed the base branch from 4.2-dev to 4.3-dev June 28, 2022 08:08
@laoneo laoneo removed the PR-4.2-dev label Jun 28, 2022
@HLeithner HLeithner removed the psr12 label Oct 23, 2022
@laoneo
Copy link
Copy Markdown
Member Author

laoneo commented Jan 19, 2023

Doc article is here joomla/Manual#79

@obuisard obuisard merged commit 174a5cb into joomla:4.3-dev Jan 19, 2023
@obuisard obuisard added this to the Joomla! 4.3.0 milestone Jan 19, 2023
@obuisard
Copy link
Copy Markdown
Contributor

Thank you Allon @laoneo !

@laoneo laoneo deleted the j4/wrokflow/db-cleanup branch January 20, 2023 04:16
HLeithner pushed a commit to joomla/Manual that referenced this pull request Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants