| Summary: | "Argument not valid" exception when locking project facet using the Project Facets Dialog after it has been opened previously | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | Musa <myassin> | ||||||||
| Component: | Faceted Project Framework | Assignee: | Konstantin Komissarchik <konstantin> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | Konstantin Komissarchik <konstantin> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | ccc, shr31223, thatnitind | ||||||||
| Version: | 3.2.3 | Flags: | shr31223:
review?
(konstantin) |
||||||||
| Target Milestone: | 3.2.5 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Musa
Created attachment 197624 [details]
exception
Exception stack trace attached.
Will look into this for 3.3.1 release. Created attachment 203193 [details]
Proposed patch for R3_2_maintenance
Hello Konstantin, I hope you do not mind, but I took the liberty to create a patch for this exception. I used as a base the R3_2_maintenance branch. Do you think it is possible to change the target to WTP 3.2.5 instead of 3.3.1?
The patch looks pretty good, but since the dispose listener is created in the same context as the listener that needs to be removed, it should be possible to tighten up the code by not creating a new class field and the handleDisposeEvent() method. Also, don't forget to update the contribution header in the class. Created attachment 203252 [details]
Proposed patch for R3_2_maintenance (v2)
Second version of the patch, following Konstantin's suggestions. I updated the contribution header, and removed the class field and the handleDisposeEvent() method.
Hi Konstantin, have you had time to take a look on the second patch? Thank you. I am going to take a look and hopefully commit the patch when Indigo SR2 opens for development as I want to apply this to all branches at once. Ok, sounds good. Thank you. Hi, I think Indigo SR2 is now open, and PMC for 3.2.5 begins next week. It would be great if this defect can be handled this week before PMC. (In reply to comment #8) > I am going to take a look and hopefully commit the patch when Indigo SR2 opens > for development as I want to apply this to all branches at once. SR2 is open. 3.2.5 starts its shutdown on 10/6, so PMC review would be needed then. Juno is open. So the best time to commit this would be before EOD 10/5. Released fix to 3.2.x, 3.3.x and HEAD. Thanks! |