I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 78899830 authored by ragnarok's avatar ragnarok Committed by zzz
Browse files

* Fixed bugs preventing the use of fetchSelectedBulk in the updater

parent 2f8a2879
No related branches found
No related tags found
No related merge requests found
...@@ -28,9 +28,9 @@ public class Updater { ...@@ -28,9 +28,9 @@ public class Updater {
if (rab.getRemoteIndex() != null) { if (rab.getRemoteIndex() != null) {
_log.debug("Index fetched, getting new entries."); _log.debug("Index fetched, getting new entries.");
HashMap parameters = new HashMap(); HashMap parameters = new HashMap();
parameters.put("action", "Fetch all new entries"); parameters.put("action", new String[] {"Fetch all new entries"});
//rab.fetchSelectedBulk(user, parameters); rab.fetchSelectedBulk(user, parameters);
rab.fetchAllEntries(user, parameters); _log.debug(rab.getStatus());
_log.debug("Update finished."); _log.debug("Update finished.");
} else { } else {
_log.debug("Index fetch failed."); _log.debug("Index fetch failed.");
......
...@@ -552,6 +552,8 @@ public class ArchiveViewerBean { ...@@ -552,6 +552,8 @@ public class ArchiveViewerBean {
return (String)c.iterator().next(); return (String)c.iterator().next();
else else
return null; return null;
} else if (vals instanceof String) {
return (String)vals;
} else { } else {
return null; return null;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment