Skip to content

[4.0] Code cleanup: remove setFieldAttribute('catid', 'action', …)#24329

Merged
wilsonge merged 11 commits intojoomla:4.0-devfrom
nhusung:4.0-fix-set-field-attribute-catid-action
Feb 9, 2020
Merged

[4.0] Code cleanup: remove setFieldAttribute('catid', 'action', …)#24329
wilsonge merged 11 commits intojoomla:4.0-devfrom
nhusung:4.0-fix-set-field-attribute-catid-action

Conversation

@nhusung
Copy link
Copy Markdown

@nhusung nhusung commented Mar 23, 2019

Summary of Changes

Since the introduction of the CategoryEdit form field in the edit models/views of com_content, com_contact, com_newsfeeds and com_banners (d6673d7), there is no action attribute on the catid form field and thus no need to set it anymore.

Testing Instructions

As the changes are pretty small, a code review should be enough. However you can have a look at the category field inside the edit forms of com_content, com_contact, com_newsfeeds and com_banners with users associated to different groups and access levels and privileges.

Expected result

Same as before this pull

Since the introduction of the categoryedit form field in the edit 
models/views of com_content, com_contact, com_newsfeeds and com_banners 
(d6673d7), there is no `action` attribute on the `catid` form field and 
thus no need to set it anymore.
@nhusung nhusung changed the title [4.0] Remove setFieldAttribute action on catid in com_content, … [4.0] Code cleanup: remove setFieldAttribute('catid', 'action', …) in com_content, com_banners, com_contact, com_newsfeeds Apr 5, 2019
@nhusung nhusung changed the title [4.0] Code cleanup: remove setFieldAttribute('catid', 'action', …) in com_content, com_banners, com_contact, com_newsfeeds [4.0] Code cleanup: remove setFieldAttribute('catid', 'action', …) Apr 5, 2019
@ghost ghost added the J4 Issue label Apr 5, 2019
@ghost ghost removed the J4 Issue label Apr 13, 2019
@SharkyKZ
Copy link
Copy Markdown
Contributor

SharkyKZ commented Jul 4, 2019

@nhusung Can you fix the conflict please.

@SharkyKZ
Copy link
Copy Markdown
Contributor

SharkyKZ commented Jul 4, 2019

I have tested this item ✅ successfully on cca35fa


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24329.

@SharkyKZ
Copy link
Copy Markdown
Contributor

SharkyKZ commented Jul 5, 2019

There are conflicts again 😕 .

@ghost ghost added the Conflicting Files label Jul 6, 2019
@joomla-cms-bot joomla-cms-bot added Composer Dependency Changed Language Change This is for Translators NPM Resource Changed This Pull Request can't be tested by Patchtester labels Jul 6, 2019
@nhusung
Copy link
Copy Markdown
Author

nhusung commented Jul 6, 2019

Sorry, I made a mistake during the merge

@nhusung nhusung force-pushed the 4.0-fix-set-field-attribute-catid-action branch from de09eac to 83c817f Compare July 6, 2019 07:39
@joomla-cms-bot joomla-cms-bot removed Language Change This is for Translators Composer Dependency Changed NPM Resource Changed This Pull Request can't be tested by Patchtester labels Jul 6, 2019
@nhusung
Copy link
Copy Markdown
Author

nhusung commented Jul 6, 2019

Now my problem should be fixed, sorry again. However, the first push added some review requests and I couldn‘t find a way to remove these. I hope I‘m not getting on your nerves …

@ghost
Copy link
Copy Markdown

ghost commented Jul 6, 2019

@nhusung thanks for Contributing, no reason for care about nerves :-)

@SharkyKZ
Copy link
Copy Markdown
Contributor

SharkyKZ commented Jul 6, 2019

I have tested this item ✅ successfully on 28ea0f7


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24329.

@zero-24 zero-24 removed their request for review July 10, 2019 13:13
@ghost ghost removed the Conflicting Files label Jul 23, 2019
@wilsonge wilsonge merged commit bc53dcd into joomla:4.0-dev Feb 9, 2020
@wilsonge
Copy link
Copy Markdown
Contributor

wilsonge commented Feb 9, 2020

Thanks!

@nhusung nhusung deleted the 4.0-fix-set-field-attribute-catid-action branch February 9, 2020 17:28
@Quy Quy added this to the Joomla 4.0 milestone Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants