java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e7ca3deca9c359203b11c49d511af05b23f894de Author: Shannon Hughes shughes@redhat.com Date: Thu Jul 1 13:33:30 2010 -0400
fix broken repo sync download log file logic
diff --git a/java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java b/java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java index a4d9f87..adc1202 100644 --- a/java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java +++ b/java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java @@ -372,7 +372,7 @@ public class DownloadFile extends DownloadAction { (int) patch.getReadme().length())); } else if (type.equals(DownloadManager.DOWNLOAD_TYPE_REPO_LOG)) { - Channel c = ChannelFactory.lookupById((Long)params.get(fileId)); + Channel c = ChannelFactory.lookupById(fileId); ChannelManager.verifyChannelAdmin(user, fileId); File file = new File(ChannelManager.getLatestSyncLogFile(c));