User tests: Successful: Unsuccessful:
Pull Request for Issue #39672 .
Convert array to comma separated list for assigned menu ids in module edit form
Purpose : reducing the number of elements of post array
Manuel Testing;
You cannot save any modules because of restriction of max_input_vars
You can save any modules although restriction of max_input_vars
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Category | ⇒ | Administration com_modules JavaScript Repository NPM Change |
Status | New | ⇒ | Pending |
Labels |
Added:
NPM Resource Changed
?
|
This pull request has been automatically rebased to 4.3-dev.
This pull request has been automatically rebased to 4.4-dev.
Thank you for your work, but unfortunately I'm going to reject this PR. This is an anti-pattern which I don't want to see in Joomla. At the same time, this raises the complexity so much, that it is hard for us to maintain in the future. Considering that you would have to assign the module to close to a thousand menu items, I'm questioning the usecase for this. If you have a module that you want to manually assign to a thousand menu items, you should do this in a different way, maybe somewhere in your template or something like that. Since only checked checkboxes are transmitted in the first place, this becomes even less likely. Last but not least, I don't see how this PR fixes that issue, because it still creates all those checkboxes and when checked, still transmitts them to the server. I don't see where you are deleting all those elements before submitting the form.
Because of that, I'm closing this PR.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-10-25 08:44:29 |
Closed_By | ⇒ | Hackwar | |
Labels |
Added:
bug
?
PR-4.4-dev
Removed: ? |
If this works then it should be extended to everywhere that we have the potential for this problem.
For testing purposes its probbly best to use https://github.com/nikosdion/overload to generate the menu items etc