Project

General

Profile

Actions

Bug #4470

closed

Using both permissions() and permissions_recurse() into a MetaTechnique will create a metadata.xml not valid

Added by Nicolas PERRON almost 11 years ago. Updated over 2 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

If in a MetaTechnique, we use permissions() and permissions_recurse(), during rudderification, the metadata.xml generated will be "malformed" since it will contain:

[...]
<SECTION component="true" multivalued="true" name="Permissions recurse">
  <REPORTKEYS>
     [...]
  </REPORTKEYS>
</SECTION>
[...]

<SECTION component="true" multivalued="true" name="Permissions recurse">
  <REPORTKEYS>
     [...]
  </REPORTKEYS>
</SECTION>
[...]

I suppose this is due to the fact that permissions() and permissions_recurse() are two different bundles using the same method permissions_type_recurse().

Actions

Also available in: Atom PDF