How to use entity_property_equal_to condition with generalPages module?

I am using a generalPages module in my app and would like to add an entity_property_equal_to condition to it. Unfortunately, this fails on app install with the following message:

Installation failed. The app includes a Page module with an unsupported condition (entity_property_equal_to).

My conditions property looks as follows:

	"conditions": [{
			"condition": "user_is_logged_in"
		},
		{
			"condition": "entity_property_equal_to",
			"params": {
				"entity": "project",
				"propertyKey": "foo.bar",
				"objectName": "baz.booleanValue",
				"value": "true"
			}
		}
	]

I am not sure what I am missing here. According to the docs entity_property_equal_to seems to be supported for the generalPages module.

Any ideas?

2 Likes

Created https://ecosystem.atlassian.net/browse/ACJIRA-2144 to keep track of this.

In Confluence I have the same issue with space_property_equals_to.

entity_property_equals_to with entity=space doesn’t fail on installation, but then the condition always resolves to false.

1 Like