Ticket #2076 (closed bug: worksforme)

Opened 10 years ago

Last modified 10 years ago

An exception is thrown when tried to insert a page before page 1 in existing book

Reported by: deyan 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: deyan Design_owners: tanya
Imp._owners: tanya Test_owners:
Analysis_reviewers: tanya Changelog:
Design_reviewers: meddle Imp._reviewers: meddle
Test_reviewers: Analysis_score: 0
Design_score: 0 Imp._score: 0
Test_score: 0


I tried to insert a page before page 1 of an existing book and an exception was thrown. Attached is only the exception because the book is larger that the maximum allowed attachment size.


2076.txt (8.6 KB) - added by deyan 10 years ago.

Change History

Changed 10 years ago by deyan

comment:1 Changed 10 years ago by deyan

  • Status changed from new to s1b_analysis_finished

comment:2 Changed 10 years ago by tanya

  • Design_owners set to tanya
  • Status changed from s1b_analysis_finished to s2a_design_started
  • Imp._owners set to tanya

comment:3 Changed 10 years ago by tanya

  • Status changed from s2a_design_started to s3b_implementation_finished

The bookView.getCurrentPageView().getPwa() - PageWorkArea should be checked whether it is not null, because it is possible to be null, but it is not correct to be null. The page work area can be null, when the parent book view of the current page view is null and this could happen when the book view knows about its page view, but the page view has still not attached its parent to be book view.


comment:4 Changed 10 years ago by meddle

  • Status changed from s3b_implementation_finished to s3c_implementation_ok
  • Design_reviewers set to meddle
  • Analysis_reviewers set to tanya
  • Imp._reviewers set to meddle

It's already in the trunk, some one committed before you :)

Works for me :)

comment:5 Changed 10 years ago by meddle

  • Status changed from s3c_implementation_ok to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.