User tests: Successful: Unsuccessful:
When creating a new admin menuitem of the type "List All Categories", you need to select for which component the categories should be shown.
That list only shows categories where the extension
field in the database is set to the component name. However categories can also have sections, eg instead of just com_foo
that field then has com_foo.bar
.
The current code will not let you select categories which have sections.
This PR changes the code to populate the option list so it works also for categories with sections.
For the naming, it follows loosely the logic we have in the categories manager itself. See
To see a difference, you will need a component which uses categories with sections. Core doesn't use that but you can use my SermonSpeaker component (or any other that uses sections).
com_sermonspeaker.zip
For core itself, you should see no difference before and after this PR.
To test:
None
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_menus |
Labels |
Added:
?
|
it's your component supposed to work only on mysql ?
Aye, only works with MySQL. I never bothered with other databases as I never got a feature request for that. Apparently the users of my component all use MySQL
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
Last commit was only a small CS change so test suite is happy
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-16 08:46:40 |
Closed_By | ⇒ | rdeutz |
it's your component supposed to work only on mysql ??

i'm testing on postgresql ..... i know my fault
btw got this error