Community
Participate
Working Groups
In the properties of a project edited in EcucOutletsPreferencePage, if we add an outlet, then click on "apply", and then click on "ok" to close the window, the outlet is created twice, and generates an error next time the code generator is executed.
(In reply to comment #0) > In the properties of a project edited in EcucOutletsPreferencePage, if we add > an outlet, then click on "apply", and then click on "ok" to close the window, > the outlet is created twice, and generates an error next time the code > generator is executed. Hi Ali, I see you've already fixed this bug by introducing 'unappliedOutlets' list that keep unapplied outlets before store preference values. I would made some minors changes and mark this bug as resoved: * Use Set<ExtendedOutlet> allOutlets & Set<ExtendedOutlet> unappliedOutlets instead of List<ExtendedOutlet> in OutletProvider class; * Change the implementation of OutletProvider#getOutlets()like this public Set<ExtendedOutlet> getOutlets() { return Collections.unmodifiableSet(allOutlets); } instead of public Collection<ExtendedOutlet> getOutlets() { return Collections.unmodifiableCollection(allOutlets); }
fixed!
Mass-closing Resolved tickets