Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.1.3
-
None
-
None
-
Tomcat 5.5 on Linux
Description
If you have two criterion named the same thing (eg.there are two occurrences of criterion named "hostname"), then when you
are in the profiler admin and you click on the criterion to edit it, you can only ever load the first occurrence.
Here is the Subsite Profiling Rule Definition example given in the online documentation:
<ProfilingRule id="subsite-by-hostname-live" standardRule="false">
<description value="A rule based on role fallback algorithm with
specified subsite and home page"/>
<Criteria>
<Criterion name="navigation">
<type value="navigation"/>
<value value="subsite-root"/>
<fallBackOrder value="0"/>
<fallBackType value="2"/>
</Criterion>
<Criterion name="hostname">
<type value="hostname"/>
<fallBackOrder value="1"/>
<fallBackType value="2"/>
</Criterion>
<Criterion name="user">
<type value="user"/>
<fallBackOrder value="2"/>
<fallBackType value="2"/>
</Criterion>
<Criterion name="navigation-2">
<type value="navigation"/>
<value value="subsite-root"/>
<fallBackOrder value="3"/>
<fallBackType value="2"/>
</Criterion>
<Criterion name="hostname-2">
<type value="hostname"/>
<fallBackOrder value="4"/>
<fallBackType value="2"/>
</Criterion>
<Criterion name="role">
<type value="role"/>
<fallBackOrder value="5"/>
<fallBackType value="2"/>
</Criterion>
<Criterion name="path">
<type value="path"/>
<value value="home"/>
<fallBackOrder value="6"/>
<fallBackType value="2"/>
</Criterion>
</Criteria>
</ProfilingRule>
Clicking on the hostname criterion at position 4 will cause the hostname criterion at position 1 to get loaded.
One cannot give a unique name to the second "hostname" criterion such as "hostname-2" since if you do, it causes the SiteView to generate paths like __subsite-root/_hostname-2...