{"action":"opened","issue":{"url":"https://api.github.com/repos/apigeecs/smartdocs_service/issues/2","repository_url":"https://api.github.com/repos/apigeecs/smartdocs_service","labels_url":"https://api.github.com/repos/apigeecs/smartdocs_service/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/apigeecs/smartdocs_service/issues/2/comments","events_url":"https://api.github.com/repos/apigeecs/smartdocs_service/issues/2/events","html_url":"https://github.com/apigeecs/smartdocs_service/issues/2","id":196746493,"number":2,"title":"Specifying a name or display name with _v1.0 in it gives a Model Added message, but no model is added","user":{"login":"jenniferstipe","id":9435998,"avatar_url":"https://avatars.githubusercontent.com/u/9435998?v=3","gravatar_id":"","url":"https://api.github.com/users/jenniferstipe","html_url":"https://github.com/jenniferstipe","followers_url":"https://api.github.com/users/jenniferstipe/followers","following_url":"https://api.github.com/users/jenniferstipe/following{/other_user}","gists_url":"https://api.github.com/users/jenniferstipe/gists{/gist_id}","starred_url":"https://api.github.com/users/jenniferstipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenniferstipe/subscriptions","organizations_url":"https://api.github.com/users/jenniferstipe/orgs","repos_url":"https://api.github.com/users/jenniferstipe/repos","events_url":"https://api.github.com/users/jenniferstipe/events{/privacy}","received_events_url":"https://api.github.com/users/jenniferstipe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-20T18:36:00Z","updated_at":"2016-12-20T18:36:00Z","closed_at":null,"body":"This is my curl command and verbose output:\r\n\r\n$ curl -v -k -X POST -u 'invaliduser:invalidpass' -H \"Content-Type: multipart/form-data;\" -F \"description=PaymentTransactionAPI service.  Fake description\" -F \"name=PaymentTransactionAPIService_v1.0\" -F \"display_name=PaymentTransactionAPIService_v1.0\" \"our dev portal url\"\r\nNote: Unnecessary use of -X or --request, POST is already inferred.\r\n* STATE: INIT => CONNECT handle 0x600057890; line 1397 (connection #-5000)\r\n* Added connection 0. The cache now contains 1 members\r\n*   Trying (our dev portal ip)\r\n* TCP_NODELAY set\r\n* STATE: CONNECT => WAITCONNECT handle 0x600057890; line 1450 (connection #0)\r\n* Connected to (our dev portal url) port 443 (#0)\r\n* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x600057890; line 1557 (connection #0)\r\n* Marked for [keep alive]: HTTP default\r\n* ALPN, offering h2\r\n* ALPN, offering http/1.1\r\n* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH\r\n* successfully set certificate verify locations:\r\n*   CAfile: /etc/pki/tls/certs/ca-bundle.crt\r\n  CApath: none\r\n* TLSv1.2 (OUT), TLS header, Certificate Status (22):\r\n* TLSv1.2 (OUT), TLS handshake, Client hello (1):\r\n* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x600057890; line 1571 (connection #0)\r\n* TLSv1.2 (IN), TLS handshake, Server hello (2):\r\n* TLSv1.2 (IN), TLS handshake, Certificate (11):\r\n* TLSv1.2 (IN), TLS handshake, Server key exchange (12):\r\n* TLSv1.2 (IN), TLS handshake, Server finished (14):\r\n* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):\r\n* TLSv1.2 (OUT), TLS change cipher, Client hello (1):\r\n* TLSv1.2 (OUT), TLS handshake, Finished (20):\r\n* TLSv1.2 (IN), TLS change cipher, Client hello (1):\r\n* TLSv1.2 (IN), TLS handshake, Finished (20):\r\n* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384\r\n* ALPN, server did not agree to a protocol\r\n* Server certificate:\r\n*  (our cert)\r\n*  start date: Aug 16 00:00:00 2016 GMT\r\n*  expire date: Aug 21 12:00:00 2017 GMT\r\n*  issuer: C=US; O=DigiCert Inc; CN=DigiCert SHA2 Secure Server CA\r\n*  SSL certificate verify ok.\r\n* STATE: PROTOCONNECT => DO handle 0x600057890; line 1592 (connection #0)\r\n* Server auth using Basic with user 'invaliduser'\r\n> POST /smartdocs/apis/models HTTP/1.1\r\n> Host:  (our host)\r\n> Authorization: Basic (our basic auth string)\r\n> User-Agent: curl/7.50.3\r\n> Accept: */*\r\n> Content-Length: 514\r\n> Expect: 100-continue\r\n> Content-Type: multipart/form-data;; boundary=------------------------f8bb0389f1f34c67\r\n>\r\n* STATE: DO => DO_DONE handle 0x600057890; line 1654 (connection #0)\r\n* STATE: DO_DONE => WAITPERFORM handle 0x600057890; line 1781 (connection #0)\r\n* STATE: WAITPERFORM => PERFORM handle 0x600057890; line 1791 (connection #0)\r\n* HTTP 1.1 or later with persistent connection, pipelining supported\r\n< HTTP/1.1 100 Continue\r\n* HTTP 1.1 or later with persistent connection, pipelining supported\r\n< HTTP/1.1 200 OK\r\n< Cache-Control: no-cache, must-revalidate\r\n< Content-Type: application/json\r\n< Date: Tue, 20 Dec 2016 18:27:30 GMT\r\n< Expires: Sun, 19 Nov 1978 05:00:00 GMT\r\n* Server nginx is not blacklisted\r\n< Server: nginx\r\n< Set-Cookie: SSESS59f2dcc39289864d53df7f854f61131c=fW-r7AaE10RqQ5mghkUHu04DDx2UMiE5KqSBHCjHgN8; expires=Thu, 12-Jan-2017 22:00:49 GMT; Max-Age=2000000; path=/; domain=.(our domain); secure; HttpOnly\r\n< Surrogate-Key: dTRLRIh1B+nK0szF2UAs v9CWdc1KOhuj8ftjBuIR\r\n< Surrogate-Key-Raw:\r\n< Vary: Accept-Encoding, Accept\r\n< X-Content-Type-Options: nosniff\r\n< X-Pantheon-Endpoint: cf937a37-5c83-4dfb-8d2d-ea1b21d771e8\r\n< X-Pantheon-Styx-Hostname: styxa28fb950\r\n< X-Styx-Req-Id: styx-d9a90930496e0cb10d36b90073aa3d59\r\n< X-Styx-Version: StyxGo\r\n< Content-Length: 16\r\n< xkey: dTRLRIh1B+nK0szF2UAs v9CWdc1KOhuj8ftjBuIR\r\n< X-Varnish: 672015066\r\n< Age: 0\r\n< Via: 1.1 varnish-v4\r\n< Accept-Ranges: bytes\r\n< Connection: keep-alive\r\n<\r\n* STATE: PERFORM => DONE handle 0x600057890; line 1955 (connection #0)\r\n* multi_done\r\n* Curl_http_done: called premature == 0\r\n* Connection #0 to host (our host) left intact\r\n [\"Model added\"]\r\n\r\nHowever no model is added.  I can create the same model name manually in the gui:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/9435998/21363045/bf8bb57e-c69f-11e6-85cb-045cf1d32ca1.png)\r\n\r\nIf I run it without the _v1.0, it works fine:\r\n\r\n$ curl -v -k -X POST -u 'invaliduser:invalidpass' -H \"Content-Type: multipart/form-data;\" -F \"description=PaymentTransactionAPI service.  Fake description\" -F \"name=PaymentTransactionAPIService\" -F \"display_name=PaymentTransactionAPIService\" \"our dev portal url\"\r\n"}}
{"actor":{"display_login":"jenniferstipe"}}