Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-10339

SFTP Upload does not handle Exit status correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 3.1.0-beta
    • Qt Creator 2.8.1, Qt Creator 3.0.0-rc1, Qt Creator 3.1.0-beta
    • Remote Linux
    • None
    • tested with Linux Ubuntu with Qt Creator (2.8.1 and current git master 3.0.81)
    • 6434a697be57e12ad12542d4d75ba99efef687e2

      In case there's an error on the remote device (e.g. no sftp-server available) the deployment process exits internally with a call to SftpChannelPrivate::handleExitStatus. But this does not close the connection. As a result the deployment dialog still shows some progress (until timeout) although the connection already failed. Maybe one should add a call to handleChannelClose when an exit status has arrived. Or any other close signal (throw a SSH client exception or whatever), such that the parent connection handle gets informed about the exit status too and shows the user an appropriate error message

        For Gerrit Dashboard: QTCREATORBUG-10339
        # Subject Branch Project Status CR V

            kandeler Christian Kandeler
            volki21 Volker Vogelhuber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes