Ticket #2464 (closed bug: obsolete)

Opened 10 years ago

Last modified 9 years ago

autochain-close-server-book - Create autochain and close the book before the operation is finished.

Reported by: todor Owned by: mira
Priority: major Milestone: X3
Component: uncategorized Version: 2.0
Keywords: Cc:
Category: unknown Effort:
Importance: 90 Ticket_group:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0
Analysis_owners: todor Design_owners: mira
Imp._owners: mira Test_owners:
Analysis_reviewers: mira Changelog: Changelog
Design_reviewers: pap Imp._reviewers: todor, pap
Test_reviewers: Analysis_score: 3
Design_score: 4 Imp._score: 4
Test_score: 0

Description

  • Create book on the server
  • Paste big text in text frame
  • Choose to autochain it, close the book, before the operation is finished
  • Exception occurs

Attachments

AutoChainingCloseAccessBug.patch (636 bytes) - added by mira 10 years ago.

Change History

comment:1 Changed 10 years ago by todor

  • Status changed from new to s1b_analysis_finished

comment:2 Changed 10 years ago by mira

  • Design_owners set to mira
  • Status changed from s1b_analysis_finished to s2a_design_started

comment:3 Changed 10 years ago by mira

  • Status changed from s2a_design_started to s2b_design_finished

When you are closing a view it continiues to calculate its properties. (I can not resolve this...) This is the reason that the get method of ResourceAccesses does no state check.
Since the autochaining changes are not triggered by user action but a recalculation of the view - those changes can occur after the view and its access are closed.

This is fixed by simple check for the state of the access :

  if (headFrameView.getAccess().isClosed()) {
    return;
  }

in the TextChainUtils#reflowText(HeadTextFrameView headFrameView)

comment:4 Changed 10 years ago by mira

  • Status changed from s2b_design_finished to s2c_design_ok

comment:5 Changed 10 years ago by mira

  • Owner set to mira
  • Status changed from s2c_design_ok to s3a_implementation_started
  • Imp._owners set to mira
  • Analysis_score changed from 0 to 3

The implementation can be done according to the design.

comment:6 Changed 10 years ago by mira

  • Status changed from s3a_implementation_started to s3b_implementation_finished

Changed 10 years ago by mira

comment:7 Changed 10 years ago by pap

  • Status changed from s3b_implementation_finished to s3c_implementation_ok
  • Analysis_reviewers set to mira
  • Imp._reviewers set to todor, pap
  • Design_score changed from 0 to 4
  • Design_reviewers set to pap
  • Imp._score changed from 0 to 4
  • Committed in [9233].
  • Well done.
  • But you have neither analysis review nor analysis-reviewer.

comment:8 Changed 9 years ago by meddle

  • Status changed from s3c_implementation_ok to closed
  • Resolution set to obsolete

Closing all the tickets before M Y1

Note: See TracTickets for help on using tickets.