netgen / ezpublish-legacy

eZ Publish 4.x (legacy) kernel, maintained by Netgen for compatibility with eZ Platform
https://netgen.io
Other
4 stars 17 forks source link

Add content/publish policy, ref EZP-26070 #2

Closed emodric closed 7 years ago

emodric commented 7 years ago

https://jira.ez.no/browse/EZP-26070 https://github.com/ezsystems/ezpublish-kernel/pull/1868

This PR adds a content/publish policy, unused by the Legacy itself, instead used for compatibility with eZ Publish 6.8.x kernel.

emodric commented 7 years ago

Failure is related to packagist.org issue, which seems to have lost versions for ezdemo-ls-extension tags (and probably other *-ls-extension packages too)

andrerom commented 7 years ago

How does legacy behave without this? Can't seem to see any description of what kind of issue it is causing.

emodric commented 7 years ago

It doesn't, at least not yet. I didn't fully test as I don't have time currently. This PR is of preventive nature only.

emodric commented 7 years ago

@andrerom FYI, Legacy will not break if it encounters an unknown policy. It will happily edit and save the role with an unknown policy, however, this patch is still required because policy limitations for content/publish are not recognized or editable otherwise.