No Code Attached Yet
avatar brianteeman
brianteeman
25 Mar 2023

Steps to reproduce the issue

  1. open and save any installed tour
  2. create a new tour

check the assets table

Expected result

com_guidedtours has a parent_id of 1 (root)
com_guidedtours.tour.1 has the parent_id of the component
etc

Actual result

all of them have the same root, breaking inheritance in the permissions of a tour

image

System information (as much as possible)

Additional comments

avatar brianteeman brianteeman - open - 25 Mar 2023
avatar joomla-cms-bot joomla-cms-bot - change - 25 Mar 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 Mar 2023
avatar brianteeman brianteeman - change - 25 Mar 2023
The description was changed
avatar brianteeman brianteeman - edited - 25 Mar 2023
avatar obuisard
obuisard - comment - 26 Mar 2023

Found the issue. I am writing a PR for it. The table class is missing the _getAssetParentId() to get the parent id of the component.

avatar richard67 richard67 - change - 26 Mar 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-03-26 18:40:20
Closed_By richard67
avatar richard67 richard67 - close - 26 Mar 2023
avatar richard67
richard67 - comment - 26 Mar 2023

Closing as having a pull request. Please test #40208 . Thanks in advance.

Add a Comment

Login with GitHub to post a comment