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

Plugin registration isn't friendly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-plugman
    • None

    Description

      Tried to publish a plugin and ...

      $ plugman publish BarcodeScanner
      Unexpected token <
      <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>400 Bad Request</title>
      </head><body>
      <h1>Bad Request</h1>
      <p>Your browser sent a request that this server could not understand.<br />
      </p>
      <hr>
      <address>Apache/2.2.22 (Ubuntu) Server at registry.cordova.io Port 80</address>
      </body></html>
       SyntaxError: Unexpected token <
      <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>400 Bad Request</title>
      </head><body>
      <h1>Bad Request</h1>
      <p>Your browser sent a request that this server could not understand.<br />
      </p>
      <hr>
      <address>Apache/2.2.22 (Ubuntu) Server at registry.cordova.io Port 80</address>
      </body></html>
      
      
      

      The reason it failed was that the 'id' was already in use, though I only found this out by changing the id in plugin.xml and trying again. It would be nice if this were made usable. Also, there is no indication that anything is happening after using the publish command, how about a simple 'attempting to publish com.phonegap.plugins.barcodescanner' or something?

      Attachments

        Activity

          People

            stevegill Steve Gill
            purplecabbage Jesse MacFadyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: