With the new version of PDF, edit forms where a rendered output of a PDF is shown/referenced (e.g. as first page) don't work any more!

I reference a field as rendered output in a view (rendered output from the file entity module) and the field is no longer editable (nothing happens) in the views ui. But worse, the Cancel button in any edit-pop-up leads to a messy screen (json string).

If I block the javaScript, every thing works in edit forms (but of course not very user friendly).

Comments

Pepe Roni created an issue. See original summary.

shenzhuxi’s picture

Component: User interface » Code

I'm sorry that I can't even make inline_entity_form work with the latest file_entity 7.x-2.x after I turn off pdf module. Can you provide the version numbers of your modules please?

Pepe Roni’s picture

here it is:
file_entity Version: 7.x-2.0-beta2

  • add a field of type entity reference to a file entity, referencing a node for example, with inline edit multiple, so you can choose the bundle to be added in editing mode and you have to open the inline form explicitly.
  • add a file (simply the file only, no other data) with /file/add
  • edit the file
  • add an entity to the file
  • save the file
  • enable pdf module
  • change the file display mode "preview" in the file entity to display a pdf using pdf.js in editing mode.
  • edit the file
  • click "edit" to open the edit form of the referenced entity
  • nothing happens (at least on my site)
shenzhuxi’s picture

Version: 7.x-1.7 » 7.x-1.x-dev
Assigned: Unassigned » shenzhuxi
Priority: Major » Normal
Status: Active » Needs review

I just committed a dirty fix on 7.x-1.x-dev to avoid this problem.
The "add new" button in inline_entity_form still make troubles with Drupal JS context.

shenzhuxi’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.