Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11274

Platform browser: wrong path for config.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: None
    • Component/s: cordova-browser
    • Labels:

      Description

      config.xml loading path is wrong: at the moment is '/config.xml' but it always fail with cordova serve command causing some plugins not to work.

      Shouldn't it be './config.xml' or '../config.xml' instead?

      The problem is at this line here: https://github.com/apache/cordova-browser/blob/master/cordova-js-src/confighelper.js#L74

      or here https://github.com/apache/cordova-browser/blob/da6c350e91cb959937f8f45592f05387a2c98321/cordova-lib/cordova.js#L875

        Attachments

          Activity

            People

            • Assignee:
              daserge Sergey Shakhnazarov
              Reporter:
              lamuertepeluda Vito Macchia
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: