Fixed Duplicate resource information

kick

Well-known member
Affected version
2.1.3
When used in macro xfrm_resource_list_macros arg-extraInfo
With a remote resource, information is duplicated, as it displays 2 times 1 the same text:
HTML:
<xf:if is="{$extraInfo}">
                            <li>{$extraInfo}</li>
                        </xf:if>
And:
HTML:
<xf:if is="$resource.resource_state == 'deleted'">
                    <xf:if is="{$extraInfo}"><span class="structItem-extraInfo">{$extraInfo}</span></xf:if>

                    <xf:macro template="deletion_macros" name="notice" arg-log="{$resource.DeletionLog}" />
                <xf:else />
Thus, information is duplicated 2 times. Either add a status check above in the code or set your state or simply delete a piece of code.
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XFRM release (2.1.4).

Change log:
Remove duplicative extra info from displaying when a resource item is deleted.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom