Skip to content

[4.1] Do not double lock assets#36776

Merged
bembelimen merged 3 commits intojoomla:4.1-devfrom
Digital-Peak:j4/tests/lock
Jan 22, 2022
Merged

[4.1] Do not double lock assets#36776
bembelimen merged 3 commits intojoomla:4.1-devfrom
Digital-Peak:j4/tests/lock

Conversation

@laoneo
Copy link
Copy Markdown
Member

@laoneo laoneo commented Jan 21, 2022

Summary of Changes

Should fix the system tests random 500 error.

Problem is when on postgres two times a lock is done then it throws the following error:

There is already an active transaction

Testing Instructions

  • Create nested categories
  • Create nested menu items
  • Delete categories
  • Delete menu items

Actual result BEFORE applying this Pull Request

Works.

Expected result AFTER applying this Pull Request

Works.

* Remove double asset lock

* Only remove lock
@bembelimen bembelimen changed the base branch from 4.1-dev to 4.0-dev January 22, 2022 11:58
@bembelimen bembelimen changed the base branch from 4.0-dev to 4.1-dev January 22, 2022 11:58
@bembelimen bembelimen merged commit 6185157 into joomla:4.1-dev Jan 22, 2022
@bembelimen
Copy link
Copy Markdown
Contributor

Thx

@laoneo laoneo deleted the j4/tests/lock branch January 22, 2022 16:41
@zero-24 zero-24 added this to the Joomla 4.1.0 milestone Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants