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

Error in console logs: Cannot read property 'idref' when epub is opened in reader #660

Closed
hotTea opened this issue Nov 2, 2017 · 4 comments

Comments

@hotTea
Copy link

hotTea commented Nov 2, 2017

This issue is a Bug

Expected Behavior

There should be no errors in browser's console of the type "cannot read property 'idref'"
I don't know what the impact of the error is, but it wasn't present in readium's older build.

Observed behavior

There are multiple errors of the type below
Uncaught TypeError: Cannot read property 'idref' of undefined external_agent_support.js:155
ExternalAgentSupport.updateContentDocument (external_agent_support.js:155)
reader_view.js:284

Steps to reproduce

  1. Get the latest code from readium repository
  2. checkout develop branch
  3. Run the command "npm run prepare:all" as needed
  4. Run "npm run http"
  5. Open sample epub - http://127.0.0.1:8080/dev/index_RequireJS_no-optimize.html?epub=..%2Fepub_content%2Fmoby_dick
  6. Open web browser's console and observe the errors mentioned above.

Product

@danielweck
Copy link
Member

@jccr what do you think?

@danielweck
Copy link
Member

@danielweck
Copy link
Member

Duplicate of:
readium/readium-shared-js#407

Note that we are prioritizing the bugfix, there is a Pull Request that removes the console error:
readium/readium-shared-js#409

@hotTea
Copy link
Author

hotTea commented Nov 2, 2017

Thanks for the quick turnaround !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants