{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/2834","labels_url":"https://api.github.com/repos/owncloud/client/issues/2834/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/2834/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/2834/events","html_url":"https://github.com/owncloud/client/issues/2834","id":57492596,"number":2834,"title":"You can't share by link using a Shibboleth server ","user":{"login":"lmaestro","id":4689430,"avatar_url":"https://avatars.githubusercontent.com/u/4689430?v=3","gravatar_id":"","url":"https://api.github.com/users/lmaestro","html_url":"https://github.com/lmaestro","followers_url":"https://api.github.com/users/lmaestro/followers","following_url":"https://api.github.com/users/lmaestro/following{/other_user}","gists_url":"https://api.github.com/users/lmaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/lmaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmaestro/subscriptions","organizations_url":"https://api.github.com/users/lmaestro/orgs","repos_url":"https://api.github.com/users/lmaestro/repos","events_url":"https://api.github.com/users/lmaestro/events{/privacy}","received_events_url":"https://api.github.com/users/lmaestro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/client/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/client/labels/gold-ticket","name":"gold-ticket","color":"FFD700"},{"url":"https://api.github.com/repos/owncloud/client/labels/sev2-high","name":"sev2-high","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ckamm","id":833306,"avatar_url":"https://avatars.githubusercontent.com/u/833306?v=3","gravatar_id":"","url":"https://api.github.com/users/ckamm","html_url":"https://github.com/ckamm","followers_url":"https://api.github.com/users/ckamm/followers","following_url":"https://api.github.com/users/ckamm/following{/other_user}","gists_url":"https://api.github.com/users/ckamm/gists{/gist_id}","starred_url":"https://api.github.com/users/ckamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckamm/subscriptions","organizations_url":"https://api.github.com/users/ckamm/orgs","repos_url":"https://api.github.com/users/ckamm/repos","events_url":"https://api.github.com/users/ckamm/events{/privacy}","received_events_url":"https://api.github.com/users/ckamm/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/client/milestones/12","labels_url":"https://api.github.com/repos/owncloud/client/milestones/12/labels","id":518706,"number":12,"title":"1.8 - UI Enhancements","description":"","creator":{"login":"MTRichards","id":1818977,"avatar_url":"https://avatars.githubusercontent.com/u/1818977?v=3","gravatar_id":"","url":"https://api.github.com/users/MTRichards","html_url":"https://github.com/MTRichards","followers_url":"https://api.github.com/users/MTRichards/followers","following_url":"https://api.github.com/users/MTRichards/following{/other_user}","gists_url":"https://api.github.com/users/MTRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/MTRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTRichards/subscriptions","organizations_url":"https://api.github.com/users/MTRichards/orgs","repos_url":"https://api.github.com/users/MTRichards/repos","events_url":"https://api.github.com/users/MTRichards/events{/privacy}","received_events_url":"https://api.github.com/users/MTRichards/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":97,"state":"open","created_at":"2013-12-20T19:27:10Z","updated_at":"2015-02-13T08:23:50Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-02-12T17:33:27Z","updated_at":"2015-02-13T08:32:45Z","closed_at":null,"body":"### Expected behaviour\r\nYou can share by link using a Shibboleth server\r\n\r\n### Actual behaviour\r\nThe app is disconnected when you try to share by link \r\n\r\n### Steps to reproduce\r\n1. Launch the app\r\n2. Sync an account in a Shibboleth server\r\n3. Click on a file -> Share with ownCloud-> Share by link \r\n\r\n### Client configuration\r\nClient version: 1.8.0-nightly20150212 (build2010)\r\n\r\nOperating system: OS X\r\n\r\n### Logs\r\n````\r\n02-12 18:15:04:800 0x104c641f0 socketapi.cpp:379 void OCC::SocketApi::command_RETRIEVE_FILE_STATUS(const QString &, SocketType *) \"/Users/lmaestro/owncloud-servers/test1\"\r\n02-12 18:15:04:800 0x104c641f0 socketapi.cpp:326 SocketApi:  Sending message:  \"STATUS:OK:/Users/lmaestro/owncloud-servers/test1\"\r\n02-12 18:15:04:933 0x104c641f0 folderman.cpp:704 <===================================== sync finished for  \"ownCloud\"\r\n02-12 18:15:06:015 0x104c641f0 folderwatcher_mac.cpp:50 FolderWatcherPrivate::callback by OS X\r\n02-12 18:15:06:016 0x104c641f0 folderwatcher.cpp:76 * Discarded as is hidden! \"/Users/lmaestro/owncloud-servers/test1/.DS_Store\"\r\n02-12 18:15:24:118 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n02-12 18:15:28:118 0x104c641f0 networkjobs.cpp:228 !!! OCC::CheckQuotaJob created for  QUrl( \"https://test1.owncloud.com/oc7-shib\" )  querying \"/\"\r\n02-12 18:15:29:119 0x104c641f0 connectionvalidator.cpp:126 # Check whether authenticated propfind works.\r\n02-12 18:15:29:120 0x104c641f0 networkjobs.cpp:228 !!! OCC::PropfindJob created for  QUrl( \"https://test1.owncloud.com/oc7-shib\" )  querying \"/\"\r\n02-12 18:15:37:358 0x104c641f0 folderwatcher_mac.cpp:50 FolderWatcherPrivate::callback by OS X\r\n02-12 18:15:37:358 0x104c641f0 folderwatcher.cpp:76 * Discarded as is hidden! \"/Users/lmaestro/owncloud-servers/test1/.DS_Store\"\r\n02-12 18:15:42:383 0x104c641f0 folderwatcher_mac.cpp:50 FolderWatcherPrivate::callback by OS X\r\n02-12 18:15:42:384 0x104c641f0 folderwatcher.cpp:76 * Discarded as is hidden! \"/Users/lmaestro/owncloud-servers/test1/puri-test1/.DS_Store\"\r\n02-12 18:15:42:384 0x104c641f0 folderwatcher.cpp:76 * Discarded as is hidden! \"/Users/lmaestro/owncloud-servers/test1/.DS_Store\"\r\n02-12 18:15:43:144 0x104c641f0 socketapi.cpp:379 void OCC::SocketApi::command_RETRIEVE_FILE_STATUS(const QString &, SocketType *) \"/Users/lmaestro/owncloud-servers/test1/puri-test1/.DS_Store\"\r\n02-12 18:15:43:144 0x104c641f0 socketapi.cpp:326 SocketApi:  Sending message:  \"STATUS:IGNORE:/Users/lmaestro/owncloud-servers/test1/puri-test1/.DS_Store\"\r\n02-12 18:15:44:077 0x104c641f0 socketapi.cpp:409 void OCC::SocketApi::command_SHARE(const QString &, SocketType *) \"/Users/lmaestro/owncloud-servers/test1/puri-test1/aaaaa.jpg\"\r\n02-12 18:15:44:077 0x104c641f0 socketapi.cpp:326 SocketApi:  Sending message:  \"SHARE:OK:/Users/lmaestro/owncloud-servers/test1/puri-test1/aaaaa.jpg\"\r\n02-12 18:15:44:077 0x104c641f0 owncloudgui.cpp:653 void OCC::ownCloudGui::slotShowShareDialog(const QString &, const QString &) Opening share dialog\r\n02-12 18:15:44:087 0x104c641f0 networkjobs.cpp:228 !!! OCC::OcsShareJob created for  QUrl( \"https://test1.owncloud.com/oc7-shib\" )  querying \"\"\r\n02-12 18:15:44:087 0x104c641f0 sharedialog.cpp:578 virtual void OCC::ThumbnailJob::start()\r\n02-12 18:15:44:092 0x104c641f0 networkjobs.cpp:228 !!! OCC::ThumbnailJob created for  QUrl( \"https://test1.owncloud.com/oc7-shib\" )  querying \"\"\r\n02-12 18:15:44:453 0x104c641f0 shibbolethcredentials.cpp:183 void OCC::ShibbolethCredentials::slotReplyFinished(QNetworkReply *) detected redirect, will open Login Window\r\n02-12 18:15:44:453 0x104c641f0 sharedialog.cpp:518 void OCC::ShareDialog::slotThumbnailFetched(const int &, const QByteArray &) Status code:  302\r\n02-12 18:15:44:609 0x104c641f0 sharedialog.cpp:225 void OCC::ShareDialog::slotSharesFetched(const QString &) Status code:  404\r\n02-12 18:15:45:664 0x104c641f0 networkjobs.cpp:228 !!! OCC::OcsShareJob created for  QUrl( \"https://test1.owncloud.com/oc7-shib\" )  querying \"\"\r\n02-12 18:15:47:958 0x104c641f0 folderwatcher_mac.cpp:50 FolderWatcherPrivate::callback by OS X\r\n02-12 18:15:47:958 0x104c641f0 folderwatcher.cpp:76 * Discarded as is hidden! \"/Users/lmaestro/owncloud-servers/test1/puri-test1/.DS_Store\"\r\n02-12 18:15:54:119 0x104c641f0 folderman.cpp:664 void OCC::FolderMan::slotEtagPollTimerTimeout() The following folders need to check for the remote ETag: QSet(\"ownCloud\")\r\n02-12 18:15:54:120 0x104c641f0 folder.cpp:252 * Trying to check \"ownCloud\" for changes via ETag check. (time since last sync: 49 s)\r\n02-12 18:15:54:120 0x104c641f0 folderman.cpp:512 Scheduling \"ownCloud\" to check remote ETag\r\n02-12 18:15:54:120 0x104c641f0 networkjobs.cpp:228 !!! OCC::RequestEtagJob created for  QUrl( \"https://test1.owncloud.com/oc7-shib\" )  querying \"\"\r\n02-12 18:15:54:644 0x104c641f0 accountstate.cpp:102 AccountState state change:  \"Connected\" -> \"ConfigurationError\"\r\n02-12 18:15:54:646 0x104c641f0 application.cpp:265 Disabling sync scheduler, terminating sync\r\n02-12 18:15:54:647 0x104c641f0 folder.cpp:311 * Compare etag with previous etag: last: \"\"54072b41bbd07\"\" , received: \"\"54072b41bbd07\"\"\r\n02-12 18:15:54:733 0x104c641f0 folderman.cpp:510 No more remote ETag check jobs to schedule.\r\n02-12 18:16:00:505 0x104c641f0 accountstate.cpp:102 AccountState state change:  \"ConfigurationError\" -> \"SignedOut\"\r\n02-12 18:16:00:506 0x104c641f0 application.cpp:265 Disabling sync scheduler, terminating sync\r\n02-12 18:16:24:121 0x104c641f0 folderman.cpp:664 void OCC::FolderMan::slotEtagPollTimerTimeout() The following folders need to check for the remote ETag: QSet(\"ownCloud\")\r\n02-12 18:16:24:121 0x104c641f0 folder.cpp:252 * Trying to check \"ownCloud\" for changes via ETag check. (time since last sync: 79 s)\r\n02-12 18:16:24:121 0x104c641f0 folder.cpp:263 Not syncing.  : \"ownCloud\" false \"SignedOut\"\r\n02-12 18:16:37:387 0x104c641f0 owncloudgui.cpp:551 void OCC::ownCloudGui::slotShowSettings()\r\n02-12 18:16:38:764 0x104c641f0 :0 QPainter::begin: Paint device returned engine == 0, type: 3\r\n02-12 18:16:38:764 0x104c641f0 :0 QPainter::setCompositionMode: Painter not active\r\n02-12 18:16:38:764 0x104c641f0 :0 QPainter::end: Painter not active, aborted\r\n02-12 18:16:38:766 0x104c641f0 folderman.cpp:188 * Setup folders from  \"/Users/lmaestro/Library/Application Support/ownCloud/folders\"\r\n02-12 18:16:38:766 0x104c641f0 socketapi.cpp:326 SocketApi:  Sending message:  \"UNREGISTER_PATH:/Users/lmaestro/owncloud-servers/test1/\"\r\n02-12 18:16:38:766 0x104c641f0 syncjournaldb.cpp:390 void OCC::SyncJournalDb::close() \"/Users/lmaestro/owncloud-servers/test1/.csync_journal.db\"\r\n02-12 18:16:38:766 0x104c641f0 syncjournaldb.cpp:96 No database Transaction to commit\r\n02-12 18:16:38:767 0x104c641f0 folderman.cpp:307   ` -> setting up: \"ownCloud\"\r\n02-12 18:16:38:767 0x104c641f0 folderman.cpp:325     -> file path:  \"/Users/lmaestro/Library/Application Support/ownCloud/folders/ownCloud\"\r\n02-12 18:16:38:768 0x104c641f0 folder.cpp:151 Checked local path ok\r\n02-12 18:16:38:768 0x104c641f0 folderman.cpp:364 Adding folder to Folder Map  OCC::Folder(0x154e29d70)\r\n02-12 18:16:38:768 0x104c641f0 folderwatcher_mac.cpp:70 FolderWatcherPrivate::startWatching() \"/Users/lmaestro/owncloud-servers/test1/\"\r\n02-12 18:16:38:768 0x104c641f0 socketapi.cpp:326 SocketApi:  Sending message:  \"REGISTER_PATH:/Users/lmaestro/owncloud-servers/test1/\"\r\n02-12 18:16:38:768 0x104c641f0 socketapi.cpp:276 Not sending UPDATE_VIEW for \"ownCloud\" because status() is 1\r\n02-12 18:16:38:769 0x104c641f0 folderman.cpp:463 Schedule folder  \"ownCloud\"  to sync!\r\n02-12 18:16:38:769 0x104c641f0 folderman.cpp:579 Scheduling a sync in 2 seconds\r\n02-12 18:16:38:769 0x104c641f0 socketapi.cpp:276 Not sending UPDATE_VIEW for \"ownCloud\" because status() is 1\r\n02-12 18:16:38:769 0x104c641f0 owncloudgui.cpp:182 Sync state changed for folder  \"ownCloud\" :  \"Not yet Started\"\r\n02-12 18:16:38:770 0x104c641f0 accountstate.cpp:102 AccountState state change:  \"SignedOut\" -> \"Disconnected\"\r\n02-12 18:16:38:777 0x104c641f0 networkjobs.cpp:228 !!! OCC::CheckServerJob created for  QUrl( \"https://test1.owncloud.com/oc7-shib\" )  querying \"status.php\"\r\n02-12 18:16:38:779 0x104c641f0 application.cpp:265 Disabling sync scheduler, terminating sync\r\n02-12 18:16:39:048 0x104c641f0 networkjobs.cpp:552 status.php returns:  QMap((\"edition\", QVariant(QString, \"\") ) ( \"installed\" ,  QVariant(QString, \"true\") ) ( \"version\" ,  QVariant(QString, \"7.0.4.2\") ) ( \"versionstring\" ,  QVariant(QString, \"7.0.4\") ) )    0  Reply:  QNetworkReplyHttpImpl(0x14fd9ce80)\r\n02-12 18:16:39:048 0x104c641f0 connectionvalidator.cpp:75 ** Application: ownCloud found:   QUrl( \"https://test1.owncloud.com/oc7-shib/status.php\" )   with version  \"7.0.4\" ( \"7.0.4.2\" )\r\n02-12 18:16:40:670 0x104c641f0 folderman.cpp:596 FolderMan: Syncing is disabled, no scheduling.\r\n02-12 18:16:48:315 0x104c641f0 shibbolethwebview.cpp:112 void OCC::ShibbolethWebView::slotLoadFinished(bool) Could not load Shibboleth login page to log you in.\r\n02-12 18:16:50:710 0x104c641f0 accountstate.cpp:102 AccountState state change:  \"Disconnected\" -> \"SignedOut\"\r\n02-12 18:16:50:711 0x104c641f0 application.cpp:265 Disabling sync scheduler, terminating sync\r\n02-12 18:16:50:712 0x104c641f0 connectionvalidator.cpp:126 # Check whether authenticated propfind works.\r\n02-12 18:16:50:712 0x104c641f0 networkjobs.cpp:228 !!! OCC::PropfindJob created for  QUrl( \"https://test1.owncloud.com/oc7-shib\" )  querying \"/\"\r\n02-12 18:16:54:123 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n02-12 18:17:24:125 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n02-12 18:17:54:127 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n02-12 18:18:24:129 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n02-12 18:18:54:130 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n02-12 18:19:24:131 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n02-12 18:19:54:134 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n02-12 18:20:24:136 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n02-12 18:20:54:137 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n02-12 18:21:24:138 0x104c641f0 folderman.cpp:662 void OCC::FolderMan::slotEtagPollTimerTimeout() No folders need to check for the remote ETag\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/client/issues/comments/74220726","html_url":"https://github.com/owncloud/client/issues/2834#issuecomment-74220726","issue_url":"https://api.github.com/repos/owncloud/client/issues/2834","id":74220726,"user":{"login":"ckamm","id":833306,"avatar_url":"https://avatars.githubusercontent.com/u/833306?v=3","gravatar_id":"","url":"https://api.github.com/users/ckamm","html_url":"https://github.com/ckamm","followers_url":"https://api.github.com/users/ckamm/followers","following_url":"https://api.github.com/users/ckamm/following{/other_user}","gists_url":"https://api.github.com/users/ckamm/gists{/gist_id}","starred_url":"https://api.github.com/users/ckamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckamm/subscriptions","organizations_url":"https://api.github.com/users/ckamm/orgs","repos_url":"https://api.github.com/users/ckamm/repos","events_url":"https://api.github.com/users/ckamm/events{/privacy}","received_events_url":"https://api.github.com/users/ckamm/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T08:32:44Z","updated_at":"2015-02-13T08:32:44Z","body":"@lmaestro Can you reproduce this on linux or windows? I tried on linux and sharing files on a shib-cred sever worked just fine for me."}}