Defect #34743

Hooks for queries helper

Added by Alexander Meindl 23 days ago. Updated 19 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Hook requests
Target version:Candidate for next major release
Resolution: Affected version:

Description

Plugin developers very often overwrite queries helper column_value and column_content.

The problem is, that there two ways to overwrite it: prepend and alias_method. There is a conflict if one plugin uses prepend and the other plugin uses alias_method for the same method.

More and more plugins do not work together because of this reason. Because of this, there should be a better way to solve this wish to overwrite.

I added a patch to introduce two hooks, which could be used by plugin develops. With this approach there is no need for overwriting this method anymore.

queries_helper.patch Magnifier (3.87 KB) Alexander Meindl, 2021-02-14 08:06

History

#1 Updated by Go MAEDA 22 days ago

Alexander Meindl wrote:

Plugin developers very often overwrite queries helper column_value and column_content.

Could you show me some plugins that do that?

#2 Updated by Alexander Meindl 22 days ago

Hi Go MAEDA,

thanks for responding.

Here is a list of some plugins which overwrites query helper methods:

#3 Updated by Go MAEDA 19 days ago

  • Target version set to Candidate for next major release

Also available in: Atom PDF