I define a sap/ui/core/mvc/XMLView and specify the id property on the root level node. This property is not supported in the root level node and has no influence.
<mvc:View
id="myFanyView"
xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m"
controllerName="ui5app.controller.Home">
<Text text="Hello"/>
<mvc:View>
Detection Goal
This scenario is detected and a finding is reported to remove the useless id property.
Autofix Goal
The id property is removed from the view definition.
<mvc:View
xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m"
controllerName="ui5app.controller.Home">
<Text text="Hello"/>
<mvc:View>
I define a
sap/ui/core/mvc/XMLViewand specify theidproperty on the root level node. This property is not supported in the root level node and has no influence.Detection Goal
This scenario is detected and a finding is reported to remove the useless
idproperty.Autofix Goal
The
idproperty is removed from the view definition.