« Previous | Next » 

Revision 30a40961

ID30a409619aa7c0f4bd30e67fa0b86cdc850fee48

Added by Robert Lemke over 10 years ago

[BUGFIX] Flush caches after changing package states

This adds a flush caches call to the end of all commands which affect
the package state (that is create, delete, activate and deactivate).

For this special case – modifying the code base during a script run –
it is necessary to exit early in order to prevent unforeseeable problems
with removed or altered code.

In the longterm the caches should also be flushed when the Package
Manager's API methods are used – but that's not in the scope of this
bug fix.

Change-Id: I173c7ed7ecefb9fb67f8e24c0e9a93e594105cfb
Resolves: #28525

  • added
  • modified
  • copied
  • renamed
  • deleted