Ticket #2019 (closed bug: duplicate)

Opened 10 years ago

Last modified 10 years ago

Trying to insert a not pdf file as a pdf throws an exception

Reported by: milen Owned by:
Priority: major Milestone: M12_RELEASE
Component: uncategorized Version: 2.0
Keywords: Cc:
Category: unknown Effort:
Importance: Ticket_group:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0
Analysis_owners: milen Design_owners: meddle
Imp._owners: meddle Test_owners:
Analysis_reviewers: meddle Changelog:
Design_reviewers: meddle Imp._reviewers: meddle
Test_reviewers: vanya Analysis_score: 0
Design_score: 0 Imp._score: 0
Test_score: 0

Description (last modified by vanya) (diff)

  1. Create a book.
  2. Click on Insert->PDF...
  3. Select "All files" for files' types.
  4. Select a file which is not a pdf one and press "Open". Notice an exception is thrown instead of dialog for unsupported file.

Attachments

pdf.txt (5.4 KB) - added by milen 10 years ago.

Change History

comment:1 Changed 10 years ago by milen

  • Status changed from new to s1b_analysis_finished

Changed 10 years ago by milen

comment:2 Changed 10 years ago by meddle

  • Design_owners set to meddle
  • Status changed from s1b_analysis_finished to s3c_implementation_ok
  • Imp._owners set to meddle
  • Analysis_reviewers set to meddle
  • Imp._reviewers set to meddle
  • Design_reviewers set to meddle

See [6803], fixed by the integrators.

The problem was that if the file is in wrong format a RuntimeException was thrown. The exception will be not thrown anymore and a error dialog will pop up if the file format is wrong...

comment:3 Changed 10 years ago by vanya

  • Description modified (diff)

comment:4 Changed 10 years ago by vanya

  • Status changed from s3c_implementation_ok to closed
  • Test_reviewers set to vanya
  • Resolution set to duplicate
  • Description modified (diff)
Note: See TracTickets for help on using tickets.