From issues-return-93159-archive-asf-public=cust-asf.ponee.io@cordova.apache.org Fri Mar 2 14:07:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B2251180671 for ; Fri, 2 Mar 2018 14:07:04 +0100 (CET) Received: (qmail 25717 invoked by uid 500); 2 Mar 2018 13:07:03 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 25517 invoked by uid 99); 2 Mar 2018 13:07:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2018 13:07:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BD68D1805D6 for ; Fri, 2 Mar 2018 13:07:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id lZyA79yuX3B8 for ; Fri, 2 Mar 2018 13:07:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C3A2A5F181 for ; Fri, 2 Mar 2018 13:07:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A9CE4E021B for ; Fri, 2 Mar 2018 13:07:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 26AB82476C for ; Fri, 2 Mar 2018 13:07:00 +0000 (UTC) Date: Fri, 2 Mar 2018 13:07:00 +0000 (UTC) From: "Arthur Mudrick (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-13943) ERR_FILE_NOT_FOUND MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Arthur Mudrick created CB-13943: ----------------------------------- Summary: ERR_FILE_NOT_FOUND Key: CB-13943 URL: https://issues.apache.org/jira/browse/CB-13943 Project: Apache Cordova Issue Type: Bug Environment: Android =E2=80=94 any Cordova =E2=80=94=C2=A06.5.0 Reporter: Arthur Mudrick Attachments: Screenshot_2018-02-28-15-18-50-964_ru.balumates.balu.= png, Screenshot_2018-02-28-15-55-56-348_ru.balumates.balu.png I use Angular with Cordova. Angular uses URL routing, e.g. `/login` for the= Login page, '/settings' for the Settings page, etc. When Android application updates (when new application version is installed= ) Cordova is like =C2=ABreloads=C2=BB itself or something, but the path in = the address bar=C2=A0was `/login` or `/users` or `/settings` etc., so, Cord= ova thinks it is a folder. Cordova throws an error =E2=80=94 see screenshot #1 =E2=80=94 there is a pa= th `/www/users` but the `/users` is just Angular's routing, not a folder to= search for :)=C2=A0 I also tried to make Angular work with hashbang url strategy, e.g. `/#/logi= n` rather than `/login` =E2=80=94 it throws another error, see screenshot #= 2. So, basically Cordova behaves like a server without the `mod_rewrite` optio= n =E2=80=94 it tries to find folders inside the `/www` folder. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org