remove deprecate derivate attibutes "label" + "view"

Description

We had specified "label" and "display" as deprecated in LTS2019. These attributes should be removed before LTS2020.

We also have to check the usage of "view-derivate" and "view" permission. Do we need this permission? Or is it also obsolete?

And at least we should take a look in response-utils.xsl where some of these features are still used. We should update this stylesheet and check stylesheet usage.

Environment

None

Activity

Kathleen Neumann 
September 30, 2020 at 6:32 AM

This is released, we need a new ticket.

Jens Kupferschmidt 
September 30, 2020 at 6:25 AM

The label attribute in the derivate root tag MUST exist und may not remove! This is an important element for some applications. Please turn back this remove!

Robert Stephan 
September 16, 2020 at 3:14 PM

replace

der.getDerivate().isdisplayEnabled()

with

MCRAccessManager.checkPermission(der.getId(), MCRAccessManager.PERMISSION_VIEW)

Robert Stephan 
September 16, 2020 at 2:31 PM

you may use a title instead of the label

mcrDerivate.getDerivate().getTitles() .add(new MCRMetaLangText("title", null, null, 0, null, label));

Kathleen Neumann 
September 16, 2020 at 8:39 AM

We still need “view”, but “view-derivate” is now “view”.

Fixed

Details

Assignee

Reporter

Sprint

Fix versions

Priority

Created June 3, 2020 at 9:03 AM
Updated September 30, 2020 at 6:34 AM
Resolved September 30, 2020 at 6:32 AM