{"action":"created","issue":{"url":"https://api.github.com/repos/groupe-gac/Identification/issues/2","repository_url":"https://api.github.com/repos/groupe-gac/Identification","labels_url":"https://api.github.com/repos/groupe-gac/Identification/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/groupe-gac/Identification/issues/2/comments","events_url":"https://api.github.com/repos/groupe-gac/Identification/issues/2/events","html_url":"https://github.com/groupe-gac/Identification/issues/2","id":194330738,"number":2,"title":"Token.Save() retourne une erreur","user":{"login":"MamboJoel","id":3832009,"avatar_url":"https://avatars.githubusercontent.com/u/3832009?v=3","gravatar_id":"","url":"https://api.github.com/users/MamboJoel","html_url":"https://github.com/MamboJoel","followers_url":"https://api.github.com/users/MamboJoel/followers","following_url":"https://api.github.com/users/MamboJoel/following{/other_user}","gists_url":"https://api.github.com/users/MamboJoel/gists{/gist_id}","starred_url":"https://api.github.com/users/MamboJoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MamboJoel/subscriptions","organizations_url":"https://api.github.com/users/MamboJoel/orgs","repos_url":"https://api.github.com/users/MamboJoel/repos","events_url":"https://api.github.com/users/MamboJoel/events{/privacy}","received_events_url":"https://api.github.com/users/MamboJoel/received_events","type":"User","site_admin":false},"labels":[{"id":454865179,"url":"https://api.github.com/repos/groupe-gac/Identification/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"MamboJoel","id":3832009,"avatar_url":"https://avatars.githubusercontent.com/u/3832009?v=3","gravatar_id":"","url":"https://api.github.com/users/MamboJoel","html_url":"https://github.com/MamboJoel","followers_url":"https://api.github.com/users/MamboJoel/followers","following_url":"https://api.github.com/users/MamboJoel/following{/other_user}","gists_url":"https://api.github.com/users/MamboJoel/gists{/gist_id}","starred_url":"https://api.github.com/users/MamboJoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MamboJoel/subscriptions","organizations_url":"https://api.github.com/users/MamboJoel/orgs","repos_url":"https://api.github.com/users/MamboJoel/repos","events_url":"https://api.github.com/users/MamboJoel/events{/privacy}","received_events_url":"https://api.github.com/users/MamboJoel/received_events","type":"User","site_admin":false},"assignees":[{"login":"MamboJoel","id":3832009,"avatar_url":"https://avatars.githubusercontent.com/u/3832009?v=3","gravatar_id":"","url":"https://api.github.com/users/MamboJoel","html_url":"https://github.com/MamboJoel","followers_url":"https://api.github.com/users/MamboJoel/followers","following_url":"https://api.github.com/users/MamboJoel/following{/other_user}","gists_url":"https://api.github.com/users/MamboJoel/gists{/gist_id}","starred_url":"https://api.github.com/users/MamboJoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MamboJoel/subscriptions","organizations_url":"https://api.github.com/users/MamboJoel/orgs","repos_url":"https://api.github.com/users/MamboJoel/repos","events_url":"https://api.github.com/users/MamboJoel/events{/privacy}","received_events_url":"https://api.github.com/users/MamboJoel/received_events","type":"User","site_admin":false},{"login":"jlenormant","id":22593475,"avatar_url":"https://avatars.githubusercontent.com/u/22593475?v=3","gravatar_id":"","url":"https://api.github.com/users/jlenormant","html_url":"https://github.com/jlenormant","followers_url":"https://api.github.com/users/jlenormant/followers","following_url":"https://api.github.com/users/jlenormant/following{/other_user}","gists_url":"https://api.github.com/users/jlenormant/gists{/gist_id}","starred_url":"https://api.github.com/users/jlenormant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlenormant/subscriptions","organizations_url":"https://api.github.com/users/jlenormant/orgs","repos_url":"https://api.github.com/users/jlenormant/repos","events_url":"https://api.github.com/users/jlenormant/events{/privacy}","received_events_url":"https://api.github.com/users/jlenormant/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-12-08T13:04:27Z","updated_at":"2016-12-08T13:17:22Z","closed_at":null,"body":"Envoyé par @jlenormant \r\n\r\n\r\n> EXCEPTION: Une exception de type 'System.Web.HttpUnhandledException' a été levée.\r\n>    à System.Web.UI.Page.HandleError(Exception e)\r\n>    à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)\r\n>    à System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)\r\n>    à System.Web.UI.Page.ProcessRequest()\r\n>    à System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)\r\n>    à System.Web.UI.Page.ProcessRequest(HttpContext context)\r\n>    à ASP.default_aspx.ProcessRequest(HttpContext context)\r\n>    à System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n>    à System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)\r\n> INNER_EXCEPTION: System.Web.Services.Protocols.SoapException: Le serveur n'a pas pu traiter la demande. ---> System.Data.SqlClient.SqlException: Violation de la contrainte PRIMARY KEY « PK_Token ». Impossible d'insérer une clé en double dans l'objet « dbo.Token ». La valeur de clé dupliquée est (MiYoLfAkRzbSWNpo).\r\n> L'instruction a été arrêtée.\r\n>    à System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)\r\n>    à System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)\r\n>    à System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()\r\n>    à System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)\r\n>    à System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)\r\n>    à System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)\r\n>    à System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)\r\n>    à System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)\r\n>    à System.Data.SqlClient.SqlCommand.ExecuteNonQuery()\r\n>    à Waybis.Sdpv.SDPVClassLib.Token.Save(Token Token)\r\n>    à Waybis.Sdpv.SDPVClassLib.Token.Create(Guid UniqueID, String Application)\r\n>    à WayBis.SDPV.Ident.IdentificationGAC.ConnectForApplication(String Login, String Password, String Application)\r\n>    à WayBis.SDPV.Ident.IdentificationGAC.Connect(String Login, String Password)\r\n>    --- Fin de la trace de la pile d'exception interne ---\r\n>    à System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)\r\n>    à System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)\r\n>    à Waybis.Sdpv.Catalog.Web.identificationgac.IdentificationGAC.Connect(String Login, String Password)\r\n>    à Waybis.Sdpv.Catalog.Web.LoginForm.GacAthentication(String Login, String Password)\r\n>    à Waybis.Sdpv.Catalog.Web.LoginForm.BTNLog_Click(Object sender, EventArgs e)\r\n>    à System.Web.UI.WebControls.Button.OnClick(EventArgs e)\r\n>    à System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)\r\n>    à System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)\r\n>    à System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)\r\n>    à System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)\r\n>    à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)\r\n> \r\n> \r\n> Navigateur : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0\r\n> Adresse cliente : 78.41.165.6\r\n> Méthode : POST, /default.aspx\r\n> Depuis : http://cat.sdpv.com/default.aspx\r\n> \r\n> Request.Form(\"__EVENTTARGET\") = \"\"\r\n> Request.Form(\"__EVENTARGUMENT\") = \"\"\r\n> Request.Form(\"__VIEWS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ZSI1oGTt8m/pQypleEY13zXhoTwqtU8YzRFTgJMyUExJKjNxrpmRCAGVImZji669oJQoOXEGjoGUUEMgXLe+7XgOjVIlQeaHJcGa5edE6NUk9+EJ8PNLMsbZh/GEVzXIJvT6ri5Q==\"\r\n> Request.Form(\"ctl00$HFEntityType\") = \"\"\r\n> Request.Form(\"ctl00$HFEntityID\") = \"\"\r\n> Request.Form(\"ctl00$ContentPlaceHolder$LoginForm1$TBLogin\") = \"willy.rance@sdpv.com\"\r\n> Request.Form(\"ctl00$ContentPlaceHolder$LoginForm1$TBPwd\") = \r\n> Request.Form(\"ctl00$ContentPlaceHolder$LoginForm1$BTNLog\") = \"Envoyer\"\r\n> \r\n> \r\n> Request.Cookies(\"__utma\") = \"165420413.2103298845.1476276151.1480407911.1480416249.121\"\r\n> Request.Cookies(\"__utmz\") = \"165420413.1477296423.26.2.utmcsr=fr.sdpv.com|utmccn=(referral)|utmcmd=referral|utmcct=/IDPortail.aspx\"\r\n> Request.Cookies(\"__utmc\") = \"165420413\"\r\n> Request.Cookies(\"ASP.NET_SessionId\") = \"i11tvnmp21m5avv40xsvbzvl\"\r\n> Request.Cookies(\"Cat\") = \"TokenID=33JCAH9Mq1rfv3Cb\"\r\n> Request.Cookies(\"WaybisAuthentications-1209795163\") = \"Waybis.Sdpv.ManagementSDPV.SdpvUser=D28AA0C716CD3CEAD77F2F17A3D3DFA508675347105503F4467F21205FA20B4BA8A20CA444F1C8AB8B3681F2892CDF92ED79AEDFD5E9DC01966219CACC8E3B506E1AF6BC2F83C4C51EB17554C1A18295A4089921FA462DC9363FD08F4523AD5C706183A78810E8866884FFB1161B8AF00858DDBDD597FBE2731DEBDA1179D629CDF45605862B10DDE809B69DDF5CCB6E6C6E8F7260D325A5707C6384F1AAE0AAE885B0A6CCC0B87E64461F6D4A2C80EEF30D44BDE27E6A8BE74EE238095E7F71F0B118FE47E355963004B2F6A348F964529E3C34D4BA11693EFAD06701986201F9CF950414A3FC568C49BA795CE2808443C8C04D2CA19E1F0699042CF9BBEBD6BBEAF8F5829F42CBF1D66379721DCBE6E9ADB1D81F7C32DF70CDBAADF70060A9F55356CB7F41C012C4AE4C9C0DB90DD0DE44401D7CF60018924DD1AA692BA598A572E8AABFEDD58CF3087D3D0C69B5908BFCE2D03F7BE4F5E9223B9CB3BC649297F6D6E30F56B27D8585386623B8E44B66382D61686A81E73CC4C700BC61463F49C9A0ADC3E010662C71A0631E3672D9\"\r\n> Request.Cookies(\"__utmb\") = \"165420413.4.10.1480416249\"\r\n> Request.Cookies(\"__utmt\") = \"1\"\r\n> \r\n> Can't get ANY session content : L'état de session ne peut être utilisé que lorsque enableSessionState a la valeur true, dans un fichier de configuration ou dans la directive Page. Vérifiez également que System.Web.SessionStateModule ou qu'un module d'état de session personnalisé est inclus dans la section <configuration>\\<system.web>\\<httpModules> dans la configuration de l'application.\r\n> stacktrace:    à System.Web.UI.Page.get_Session()\r\n>    à Waybis.Sdpv.Catalog.Web.ErrorPage1.Page_Load(Object sender, EventArgs e)"},"comment":{"url":"https://api.github.com/repos/groupe-gac/Identification/issues/comments/265737469","html_url":"https://github.com/groupe-gac/Identification/issues/2#issuecomment-265737469","issue_url":"https://api.github.com/repos/groupe-gac/Identification/issues/2","id":265737469,"user":{"login":"MamboJoel","id":3832009,"avatar_url":"https://avatars.githubusercontent.com/u/3832009?v=3","gravatar_id":"","url":"https://api.github.com/users/MamboJoel","html_url":"https://github.com/MamboJoel","followers_url":"https://api.github.com/users/MamboJoel/followers","following_url":"https://api.github.com/users/MamboJoel/following{/other_user}","gists_url":"https://api.github.com/users/MamboJoel/gists{/gist_id}","starred_url":"https://api.github.com/users/MamboJoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MamboJoel/subscriptions","organizations_url":"https://api.github.com/users/MamboJoel/orgs","repos_url":"https://api.github.com/users/MamboJoel/repos","events_url":"https://api.github.com/users/MamboJoel/events{/privacy}","received_events_url":"https://api.github.com/users/MamboJoel/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T13:17:22Z","updated_at":"2016-12-08T13:17:22Z","body":"J'ai aussi [testé](https://github.com/ntlm-technologies/sdpv-identification/commit/457dbe84d1bb9529fed5d1ab71b59354a3f1efea) le service en ligne et ça fonctionne."}}
{"actor":{"display_login":"MamboJoel"}}