SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.94k stars 1.23k forks source link

The type was accessed via globals error for UploadSetItem #3961

Closed Roman-Solo closed 7 months ago

Roman-Solo commented 7 months ago

After a framework update, whenever UploadSetItem is used in an XML template for a binding template, the following error messages are spammed in console: image

The minimal fragment example to reproduce this behavior:

<core:FragmentDefinition xmlns="sap.m"
    xmlns:core="sap.ui.core"
    xmlns:upload="sap.m.upload">

    <upload:UploadSet items="{files>/files}">
        <upload:items>
            <upload:UploadSetItem fileName="test.pdf" />
        </upload:items>
    </upload:UploadSet>
</core:FragmentDefinition>

OpenUI5 version: 1.120.0

Browser/version (+device/version): Edge, Firefox

How can these error messages be resolved?

codeworrior commented 7 months ago

This was already raised as a side topic in https://github.com/SAP/openui5/issues/3939. See my comment https://github.com/SAP/openui5/issues/3939#issuecomment-1914156022 for the current status.

flovogt commented 7 months ago

Closing this issue. Please follow https://github.com/SAP/openui5/issues/3939 to get notified when the issue is fixed