Ticket #1906 (closed bug: worksforme)

Opened 16 years ago

Last modified 15 years ago

When toggling frame "The requested element is not in the scene" exception is thrown

Reported by: nenko Owned by: nenko
Priority: major Milestone:
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: nenko Design_owners: nenko
Imp._owners: nenko, nenko, milo, nenko Test_owners: vanya
Analysis_reviewers: nenko Changelog:
Design_reviewers: meddle, todor, meddle, deyan Imp._reviewers: meddle, todor, meddle, deyan
Test_reviewers: Analysis_score: 3.5
Design_score: 3.5 Imp._score: 3.5
Test_score: 0

Description

  • insert frame
  • add rule - mouse pressed, toggle frame, target = same frame
  • open preview
  • trigger the rule
  • an exception is thrown

Change History

comment:1 Changed 16 years ago by nenko

  • Status changed from new to s1b_analysis_finished

comment:2 Changed 16 years ago by nenko

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

comment:3 Changed 16 years ago by nenko

  • Status changed from s2a_design_started to s2b_design_finished

In ReaderPageWorkArea#renderFrame returns null when a frame is not visible. This causes PageWorkArea#pageCompositeElement not to add this SceneElement (it's null) to its subElements and when a event is fired for this frame (the one that has a null SceneElement) it ends in "The requested element is not in the scene" exception. See SceneInteractionLogic:47

comment:4 Changed 16 years ago by nenko

  • Status changed from s2b_design_finished to s2c_design_ok

comment:5 Changed 16 years ago by nenko

  • Owner set to nenko
  • Status changed from s2c_design_ok to s3a_implementation_started
  • Imp._owners set to nenko

comment:6 Changed 16 years ago by nenko

  • Status changed from s3a_implementation_started to s3b_implementation_finished

Dirty fix. A SceneElement is always created however when the frame is not visible, the SceneElement's color is transparent

Changest :[5177]

comment:7 Changed 16 years ago by meddle

  • Status changed from s3b_implementation_finished to s2c_design_ok
  • Analysis_reviewers set to nenko
  • Analysis_score changed from 0 to 2.5
  • Imp._reviewers set to meddle, todor
  • Design_score changed from 0 to 2.5
  • Design_reviewers set to meddle, todor
  • Imp._score changed from 0 to 2.5

The exception continues to pop when you go to the next page with a link action...

comment:8 Changed 16 years ago by nenko

  • Status changed from s2c_design_ok to s3a_implementation_started

comment:9 Changed 16 years ago by nenko

  • Status changed from s3a_implementation_started to s3b_implementation_finished
  • Imp._owners changed from nenko to nenko, nenko, milo

fixed for page navigation too

Changeset [5224]

comment:10 Changed 16 years ago by deyan

the text doesn't disappear.

comment:11 Changed 16 years ago by deyan

  • Status changed from s3b_implementation_finished to s2c_design_ok

comment:12 Changed 16 years ago by nenko

  • Status changed from s2c_design_ok to s3a_implementation_started
  • Imp._owners changed from nenko, nenko, milo to nenko, nenko, milo, nenko

So... ReaderPageWorkAre#renderFrame is reverted to the old code (5236 reverts changes made in 5177), and the text doesn't appear anymore. Also the fix committed in 5224 is the real one and it removes throwing "The requested element is not in the scene" exception

All changesets are:
5177
5224
5236

comment:13 Changed 16 years ago by nenko

  • Status changed from s3a_implementation_started to s3b_implementation_finished

comment:14 Changed 16 years ago by meddle

  • Status changed from s3b_implementation_finished to s3c_implementation_ok
  • Analysis_score changed from 2.5 to 3.5
  • Imp._reviewers changed from meddle, todor to meddle, todor, meddle, deyan
  • Design_score changed from 2.5 to 3.5
  • Design_reviewers changed from meddle, todor to meddle, todor, meddle, deyan
  • Imp._score changed from 2.5 to 3.5

Merged into the release in [5242].

comment:15 Changed 15 years ago by vanya

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