try +1
authorNiki Roo <niki@nikiroo.be>
Fri, 10 Aug 2018 16:36:23 +0000 (18:36 +0200)
committerNiki Roo <niki@nikiroo.be>
Fri, 10 Aug 2018 16:36:23 +0000 (18:36 +0200)
src/be/nikiroo/fanfix/library/BasicLibrary.java

index 5bc8829af774346f1e7f10e257ff93148d0b0b13..e62416bcca9fd1112bbf8ade0175dc008dcd142d 100644 (file)
@@ -355,6 +355,8 @@ abstract public class BasicLibrary {
                                        if (type != null) {
                                                story = BasicSupport.getSupport(type, url) //
                                                                .process(pgProcess);
+                                               System.out.println("orig meta: "+meta);
+                                               System.out.println("story retrieved: "+story);
                                                // Because we do not want to clear the meta cache:
                                                meta.setCover(story.getMeta().getCover());
                                                story.setMeta(meta);
@@ -517,9 +519,7 @@ abstract public class BasicLibrary {
         */
        public synchronized Story save(Story story, String luid, Progress pg)
                        throws IOException {
-               
-               System.out.println("story before save: "+story);
-               
+
                // Do not change the original metadata, but change the original story
                MetaData meta = story.getMeta().clone();
                story.setMeta(meta);
@@ -535,8 +535,7 @@ abstract public class BasicLibrary {
                }
 
                story = doSave(story, pg);
-               System.out.println("story after save: "+story);
-               
+
                updateInfo(story.getMeta());
 
                return story;