on 02-01-2017 9:17 PM
During a clone operation, a template was found that neither was marked with 'templateShareable:true' nor 'templateShareable:false'. The framework won't destroy the template. This could cause errors (e.g. duplicate IDs) or memory leaks (The template is used in aggregation 'items' of object '__box0').For more information, see documentation under 'Aggregation Binding'. -
Hello Karlyn,
I checked your code, but I am not sure what is the source control for onItemPress event. Is it a list / table ?
However this error is due to complex binding, you need to mention templateShareable Boolean value. Consider you're using a list control, while binding the aggregation 'items' in XML view, you have to try something like below:
<List items="{/products}">
<items>
<CustomListItem>
<content>
<Select items="{path:'materials', templateShareable:false}">
<items>
<core:Item text="{materialdesc}" key="{materialno}" />
</items>
</Select>
</content>
</CustomListItem>
</items>
</List>
For more information, please check this link: Understanding templateShareable in SAPUI5
Regards,
Sai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error arrive on line oNavContainer.to(oPage.getId()); in the App.Controller.js (see attachments)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the view page:
I add the templateSharable
I add too in the controller page and I receive the same error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After the implantation of EHP8
SAPUI version before 1.28.9 and now 1.38.16
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how u get that error?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.