issue_recurring icon indicating copy to clipboard operation
issue_recurring copied to clipboard

Resolve defects

Open jcatrysse opened this issue 1 month ago • 5 comments

Defect: make plugin compatible with additional_tags Defect: issue_recuurent throws an error on the Custom Fields page

jcatrysse avatar Oct 31 '25 14:10 jcatrysse

Thank you for the PR.

As for compatibility with the additional_tags plugin, if I understand correctly, the proposed fix is commit 9fd754aeca0733dd8fea6d02906120fc18f2a7b7 from the issue30 branch. This will not be included in the master branch for the reasons described in the discussion here: https://it.michalczyk.pro/issues/30

I will comment on other commits as soon as I have time to take a closer look at them. It would also be good if each change were sent as a separate PR.

cryptogopher avatar Nov 16 '25 23:11 cryptogopher

Thank you. I will see whether it is possible to provide a solution that permits both patch methods, based on a configuration. This will enable users to choose between the two methods, with the current recommended method serving as the default.

jcatrysse avatar Nov 17 '25 13:11 jcatrysse

Personally, I believe it is more worthwhile to spend time working on additional_tags to use prepend+super instead of alias_method.

cryptogopher avatar Nov 17 '25 14:11 cryptogopher

Personally, I believe it is more worthwhile to spend time working on additional_tags to use prepend+super instead of alias_method.

Multiple plugin developers / vendors all use the alias method, and I believe they will not be changing anytime soon. I use the Redmineup series of plugins, and all their plugins are still on the old method.

jcatrysse avatar Nov 17 '25 14:11 jcatrysse

Still, upgrading to super is a more rational solution than downgrading to alias_method. Redmine developer considers it

quite simpler and cleaner

https://www.redmine.org/boards/3/topics/58309?r=58800#message-58800

The additional_tags developer considers the super method

the modern, preferred way

https://github.com/alphanodes/additional_tags/issues/9#issuecomment-778642718

It would be worth more spending time improving stubborn dependencies that force the use of alias_method on others.

cryptogopher avatar Nov 17 '25 15:11 cryptogopher