Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

1.4.9+ issue net_error -3 and -101 #14042

@tinybigideas

Description

@tinybigideas

Version 1.4.8 works correctly, and 1.4.9 and 1.5.0 both error the same.

I have a standard app that calls certain $resource items on route success. With version 1.4.9+, these can randomly fail. It has to do with the following link it seems:

<a class="basket-link btn btn-primary variable-header-background-color variable-header-basket-color" ui-sref="checkout">
                            <i class="fa fa-shopping-cart fa-2x" ng-class="{'animate-shake': buy.animate.basket}"></i>
                            <span ng-if="!buy.list.loaded"><i class="fa fa-refresh fa-spin"></i></span>
                            <span ng-if="buy.list.loaded">
                                <span>{{(buy.ab.addBasketShippingShow) ? buy.total.total : buy.total.subTotal | currency:buy.current.locale.currencySymbol}}</span>
                            </span>
                        </a>

It seems the issue is specific to the fact the link is an A tag? As in, typing the expected URL works correctly.

Also, clicking this link transitions the page correctly, but following $resource requests are cancelled due to net_error -3 or -101, seemingly randomly. As mentioned, cannot recreate on 1.4.8.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions