Skip to content

Commit

Permalink
Fixing a bug with uploading changes to Novell Bugzilla
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Barringer committed Jan 31, 2012
1 parent 7d8f483 commit 318c073
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion desktop/trackers/Bugzilla.cpp
Expand Up @@ -180,12 +180,14 @@ Bugzilla::uploadAll()
emit bugsUpdated();
return;
}
qDebug() << "Bugzilla::uploadAll";
mState = BUGZILLA_STATE_UPLOADING;
login();
}

void Bugzilla::doUploading()
{
qDebug() << "Bugzilla::doUploading";
QStringList idList;
QString ids;
idList = SqlUtilities::getChangedBugzillaIds(mId);
Expand Down Expand Up @@ -722,7 +724,7 @@ Bugzilla::versionRpcResponse(QVariant &arg)

void Bugzilla::loginRpcResponse(QVariant &arg)
{
qDebug() << "Login response";
qDebug() << "Bugzilla::loginRpcResponse";
QVariantMap map = arg.toMap();
if (!map.isEmpty())
{
Expand Down Expand Up @@ -1361,6 +1363,7 @@ Bugzilla::parseBuglistCSV(const QString &csv,
void
Bugzilla::idDetailsFinished()
{
qDebug() << "Bugzilla::idDetailsFinished";
QString id, token, text;
QMap<QString, QString> tokenMap;
QNetworkReply *reply = qobject_cast<QNetworkReply*>(sender());
Expand Down
4 changes: 4 additions & 0 deletions desktop/trackers/NovellBugzilla.cpp
Expand Up @@ -99,16 +99,20 @@ NovellBugzilla::finished()
{
case NOVELL_CHECK_VERSION:
{
qDebug() << "NOVELL_CHECK_VERSION";
Bugzilla::checkVersion();
break;
}
case NOVELL_GET_COMMENTS:
{
qDebug() << "NOVELL_GET_COMMENTS";
Bugzilla::getComments(mCommentBugId);
state = 0;
break;
}
default:
{
qDebug() << "NovellBugzilla Calling Bugzilla::login";
Bugzilla::login();
break;
}
Expand Down

0 comments on commit 318c073

Please sign in to comment.