benchen71 / epub-metadata-editor

Edit the metadata of EPUB files
194 stars 11 forks source link

1.3.15 'Date' bug #17

Closed n9qqk closed 9 years ago

n9qqk commented 10 years ago

I have an epub with no apparent metadata in the 'Date' field (Date entry box is empty). I have not modified the metadata in any way. However, when I select the Edit .opf data Advanced Task, The following entry IS in the metadata:

2014/dc:date The question is, why isn't the date showing up in the 'Date' edit box? If I entry a date in the box, and save it, it's nor there if and when at a layer time I open the file for edit. If, however, I directly edit the metadata item, changing it to dc:date2014/dc:date, the date sticks (doesn't go away). So, I'm wondering why your program doesn't recognize the original 'dc:date' metadata entry and populate the 'Date' edit box. I really do like the program, and hope you will continue to support it.
benchen71 commented 10 years ago

You will need to attach the EPUB (after changing the extension to jpg). Then I can see what's going on.

benchen71 commented 10 years ago

I wanted to try and deal with this issue before putting out the next update. Can you please attach the problematic EPUB? Thanks!

n9qqk commented 9 years ago

Sorry I didn't see this before now. Lost it in the deluge of Xmas emails.

Here's one. (attached)

Opening it with EPUB Metadata editor, you'll notice the blank date field. If you go into edit on the .opf file, you'll see this metadata entry:

2013-03-13/dc:date The date entry is present in the opf, but not displayed in the editor date field. Seems to be some problem with the string following '2013-03-13/dc:date 3) Exit .opf file WITHOUT saving; date field is still blank. 4) Change date field from blank to 9999 5) Select SAVE 5) Select Edit .opf file; The date field is changed to 9999/dc:date showing us that the program has updated the opf file with the new date value. 6) Select SAVE in .opf edit (which you would do if changing any other entries in there) 7) Notice date field is still blank. If you don't select SAVE in the opf edit, the date field does show '9999' on exiting opf edit. However, if you get completely out of the editor, and then start a new edit session on the EPUB, the 'date' field is again blank. To summarize, the program is not displaying the 'date field' data when there is extraneous data in the 'dc:data' tag. Hope this helps. Ron --- On Tue, 12/2/14, Ben notifications@github.com wrote: Subject: Re: [epub-metadata-editor] 1.3.15 'Date' bug (#17) To: "benchen71/epub-metadata-editor" epub-metadata-editor@noreply.github.com Cc: "n9qqk" n9qqk@att.net Date: Tuesday, December 2, 2014, 9:41 PM I wanted to try and deal with this issue before putting out the next update. Can you please attach the problematic EPUB? Thanks! — Reply to this email directly or view it on GitHub.
benchen71 commented 9 years ago

Yes, that will help nicely. I will look into a fix soon...

benchen71 commented 9 years ago

Fixed in 1.3.16