Community
Participate
Working Groups
When a property changes in a profile, there is no event associated with it making it impossible for the user level rollback support to keep track of the previous values. It would be good to have a notification event when properties in a profile changes.
would also be good to have property change events for repo property changes
I opened bug #199806 to keep track of the requirement in comment #1.
I've just had to hack a ProfileEvent.CHANGE event. My hack involved Profile.setInstallableUnitProfileProperty(...). I did not attempt to address the other cases where this is needed. See also bug #206077.
Simon, this is also becoming important now for the UI for revert. When I look at a "saved profile" IU (See FormerState.profileToIU), I need to be able to know what the install roots on that profile were. So those IU profile properties need to be retained somehow.
PropertyChange events are now being properly tracked in terms of commit/rollback with the code in HEAD. I'm going to add a dependency on bug 208251 as that's where I'm doing the bulk of the work and come back and close this once that's in good shape.
Marking FIXED. Profile properties and ProfileIUProperties are now persisted along with all other changes to the Profile when a transaction in the Engine is committed.