loadError on dataproxy not triggered when using LazyDataProxy

When a grid uses the LazyDataProxy and the async call to load the data has en error the loadError event is not triggered.
This is because the promises returned by the load function of the LazyDataProxy does not reject.

Easy fix:

image

But when we fix this, our custom load error is still not triggered because there is already an loadError added by the DataCollection that will throw the error .

        this.events.on(types_1.DataEvents.loadError, function (response) {
            if (typeof response !== "string") {
                helpers_1.dhxError(response);  // <= this will throw the error
            }
            else {
                helpers_1.dhxWarning(response);
            }
        });

@sematik is this a bug and can it be fixed?

My apologies for the delay with the reply.
Thank you for your report and the inspection.
The problem is confirmed. We’ll try to find a solution in future updates.
I’ll inform you here about any update on this issue.

We have fixed your reported problem in the latest dhx.Suite update (ver 7.3).
Please, try to download the latest available dhx.Suite build to get that fix.