Empty Dependency

Cantor, Scott cantor.2 at osu.edu
Tue May 29 09:46:39 EDT 2018


> I feel there should be something like a <Dependency ref="someAttributeXYZ"
> emptyisok="false" />. Am I missing something, or can this be reached via other
> means?

This is why the suggestion to standardize the ability to use the data from a dependency in a dependent plugin's activation condition was brought up, and it turns out to be convenient that we always run dependencies of a plugin even if that plugin itself has a condition that tells it not to run.

But at the moment there's no fully supported way to get at the data from a dependency from within a plugin's activation condition, it's something we're looking at.

In practice, I just let the system build invalid search queries that will have predictable empty results to deal with these cases. It's a little more overhead, but my cases are not frequent.

-- Scott



More information about the users mailing list