try +1
[fanfix.git] / src / be / nikiroo / fanfix / library / BasicLibrary.java
index 206e80f360dfcb82927cbec0eb7762b2b652c05e..5bc8829af774346f1e7f10e257ff93148d0b0b13 100644 (file)
@@ -517,6 +517,9 @@ 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);
@@ -532,7 +535,8 @@ abstract public class BasicLibrary {
                }
 
                story = doSave(story, pg);
-
+               System.out.println("story after save: "+story);
+               
                updateInfo(story.getMeta());
 
                return story;