0) referring to Joomla 3.6.2 stable
1) login to administration, open the "Options" dialog window for "Banners" (or any other component)
this works as expected
2) change the components "config.xml" file by "commenting out" the permissions tab like this:
this used to work without issues up to Joomla version 3.5.1
just "not showing" the Permissions tab, but everything else in the configuration.
you cannot access the configuration panel anymore, you get an:
0 Call to a member function getFieldsets() on boolean
error
Joomla 3.6.2
I used this method to secure our demo website, where potential customers can try out our joomla extensions. I want them to be able to configure the extensions, however I do not want them to be able to change the "Permissions" (and some other crucial settings).
What is the background why this is no longer possible?
@schultz-it-solutions You know you can set the ACL so the user is able to edit the options but not the permissions? No need to hack the files
We added this around Joomla 3.4
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-19 20:45:47 |
Closed_By | ⇒ | brianteeman |
I cannot confirm the issue
I commented out the permissions in com_banners and in another component
and the error does not occur
@schultz-it-solutions
can it be, that that the error is not thrown not inside Joomla code, but inside a 3rd party extension ?
please add line and file to the error.php of isis backend template and check ...
@Bakual
we cannot deny ACL to super admins , right ?
but even if could , it would still be problematic of the component to configure such on installation
and then user could change ACL and hit on the issue
all this if there was an issue, because i cannot confirm it
Thanks for your answer.
I know superadmins can do anything. but in this case (a demo site) I want "Managers" to be able to configure the component, but not changing permissions. @Bakual: I am not aware of the possibility to "finegrain" the usage of the options dialog, will check this - if this works as expected, that would of course solve the issue.
I will doublecheck (again) and try to find more infos about the issue...
@brianteenman: Please note that "deleting" the respective passage is not identical to "uncommenting". If I delete the complete fieldset, I also get no error message. So the issue has to be connected to the "commenting" behaviour.
@ggppdk: agreed, this makes debugging harder. but If I ONLY flipflop this one change (doing it and undoing it) and have the behaviour consistent, I tend to belief this is the root of the issue.
Looking again at your screenshot it looks to me like you are not commenting a multi line block correctly. My understanding is that you begin the block with <!-- and end the block --!> But you are ending the line not the block
the "End Comment" is "inactive" in the first line, it is - -> with SPACE between the two hyphens
at the end, the "Beginn Comment" (at the last line) is "inactive as well with SPACES between the exclamation mark and the hypens.
But I agree, the issue must be somewhere in the interpretation of these things. If I make "just one comment" (I think this is what you are referring to), the error does not appear.
But this would mean, that the interpreting of the xml stream beliefs this " <! - - " to be a "start comment as well..
Labels |
Added:
?
|
I can not confirm this. I deleted the code you highlighted and the configuration shows as expected
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11668.