Faculty of Information Technology
Software Engineering Group

Opened 9 years ago

Last modified 9 years ago

#16 new defect

Selection is lost when accepting missing required / inherited method

Reported by: vranyj1 Owned by:
Priority: major Milestone:
Component: default Keywords:
Cc: Also affects CVS HEAD (eXept version): no

Description

Steps to reproduce:

  1. Create class ClassA.
  2. Define method foo in ClassA as subclass responsibility.
  3. Create class ClassB as a subclass of ClassA
  4. In browser, you should see a pseudo category required (1), select it.
  5. Select missing method (labeled as foo (* * missing required * *) in red)
  6. In code pane, press Accept (Alt+a)

Method selection/protocol is lost and class definition appears in the code pane.

Change History (2)

comment:1 Changed 9 years ago by vranyj1

In eXept CVS nothing happens when you press accept (i.e., you can't select the method, tweak the code and accept)

comment:2 Changed 9 years ago by Jan Vrany

Summary: Selection is lost when accepting missing required methodSelection is lost when accepting missing required / inherited method

This also apply if you accept method in ClassB which is actually defined in ClassA - when having View → Selector → Show Inherited Method except Object's on.

Note: See TracTickets for help on using tickets.