Skip to content

[ui5-middleware-approuter] OData v2 requests not triggered, seems cached (version >= 3.1.0) #905

@qualiture

Description

@qualiture

Describe the bug
When using ui5-middleware-cfdestination version 3.3.10, upon initial running of the app with ui5 serve the OData v2 requests are not triggered (we use OData binding in XML view).

To Reproduce
Refreshing the app (F5) will load the data, refreshing again will not. I.e. every 'odd' number of refreshes will load the date, every 'even' number of refreshes will not.

NB 1: In both cases, the <destination>/v2/<my_service>/$metadata request is loaded just fine.
However, on every 'even' number of refreshes the HEAD request to <destination>/v2/<my_service> is not triggered, and thus neither are the subsequent OData requests.

NB 2: When disabling the browser cache with browser developer tools open, the OData v2 requests are triggered just fine, hence my suspicion it is cache related.

Expected behavior
OData request should be triggered upon initial load, and with every refresh of the app, like it did in version 3.0.1 and below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions