Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

items listed twice in JSON report #1490

Closed
gregoriopellegrino opened this issue Mar 10, 2023 · 1 comment · Fixed by #1499
Closed

items listed twice in JSON report #1490

gregoriopellegrino opened this issue Mar 10, 2023 · 1 comment · Fixed by #1499
Assignees
Labels
status: has PR The issue is being processed in a pull request type: bug The issue describes a bug
Milestone

Comments

@gregoriopellegrino
Copy link

Hi,
I am using EPUBCheck (version 5.0.0) to generate a JSON report. The tool reports no errors, but I realized that in the list of items the files appear twice, for example:

"items" : [
{
    "id" : "ePubCheck.NoManifestRef:OEBPS/Styles/idGeneratedStyles.css",
    "fileName" : "OEBPS/Styles/idGeneratedStyles.css",
    "media_type" : "text/css",
    "compressedSize" : 0,
    "uncompressedSize" : 0,
    "compressionMethod" : null,
    "checkSum" : null,
    "isSpineItem" : false,
    "spineIndex" : null,
    "isLinear" : false,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : null,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : null,
    "renditionOrientation" : null,
    "renditionSpread" : null,
    "referencedItems" : [ ]
  }, {
    "id" : "idGeneratedStyles.css",
    "fileName" : "Styles/idGeneratedStyles.css",
    "media_type" : null,
    "compressedSize" : 0,
    "uncompressedSize" : 0,
    "compressionMethod" : null,
    "checkSum" : null,
    "isSpineItem" : false,
    "spineIndex" : null,
    "isLinear" : false,
    "navigationOrder" : null,
    "isHTML5" : false,
    "isFixedFormat" : null,
    "isScripted" : false,
    "scriptSrc" : false,
    "scriptTag" : false,
    "scriptInline" : false,
    "renditionLayout" : null,
    "renditionOrientation" : null,
    "renditionSpread" : null,
    "referencedItems" : [ ]
  }
]

is this correct?

@nekennedy
Copy link

I saw the same thing and reported this as a secondary issue on #1475

@rdeltour rdeltour self-assigned this Apr 13, 2023
@rdeltour rdeltour added type: bug The issue describes a bug status: accepted Ready to be further processed labels Apr 13, 2023
@rdeltour rdeltour added this to the Next maintenance release milestone Apr 13, 2023
@rdeltour rdeltour linked a pull request Apr 28, 2023 that will close this issue
@rdeltour rdeltour added status: has PR The issue is being processed in a pull request and removed status: accepted Ready to be further processed labels Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: has PR The issue is being processed in a pull request type: bug The issue describes a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants