Moodle

PDF file resources not shown

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.4
  • Fix Version/s: 1.9.1, 2.0
  • Component/s: Resource
  • Labels:
    None
  • Environment:
    Windows, Internet explorer 7, adobe acrobat <8
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE

Description

When you try to view a pdf resource with internet explorer 7 with acrobat plugin < 8 nothing is shown.
I can't test it with previous version of IE.

I think that the problem is that in versions prior 1.8.4+ resources were not embedded in an object when they are shown in the same page without frameset but they were downloaded.

Can we come back ?

Bobo.

Issue Links

Activity

Hide
Dan Marsden added a comment -

Hi bobo - we're seeing issues with pdfs created by Cutepdf and viewed with Acrobat 6 - acrobat 7 seems to fix it..... - what are you using for pdf creation?

Dan

Show
Dan Marsden added a comment - Hi bobo - we're seeing issues with pdfs created by Cutepdf and viewed with Acrobat 6 - acrobat 7 seems to fix it..... - what are you using for pdf creation? Dan
Hide
Roberto Pinna added a comment -

Hi Dan,
I don't know the tool used for pdf creation. I think they use several tools because my teachers work in several faculty and they had the same problem.

I solved it by set the embeded to false for pdf files in moodle/mod/resource/type/file/resource.class.php

Now pdf file are always downloaded without problems.

Show
Roberto Pinna added a comment - Hi Dan, I don't know the tool used for pdf creation. I think they use several tools because my teachers work in several faculty and they had the same problem. I solved it by set the embeded to false for pdf files in moodle/mod/resource/type/file/resource.class.php Now pdf file are always downloaded without problems.
Hide
Petr Škoda (skodak) added a comment -

assigning to Nicolas, could you please have a look at this?

Show
Petr Škoda (skodak) added a comment - assigning to Nicolas, could you please have a look at this?
Hide
Nicolas Connault added a comment -

See MDL-13903 for a fix. The IE7/PDF issue is not Moodle-related.

Show
Nicolas Connault added a comment - See MDL-13903 for a fix. The IE7/PDF issue is not Moodle-related.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: