« Previous | Next » 

Revision 4bff5587

ID4bff5587d71a10fab4bb6d4b83e881141959e389
Parent cadcb612

Added by Karsten Dambekalns over 9 years ago

[BUGFIX] Packages can be frozen in Development only

Freezing packages was not possible in other contexts than Development
with the related commands. But if a package was frozen according to
PackageStates.php, it would advertise itself as frozen in all contexts.

While this did not seem to have any real effects, it caused confusing
output with the cache:flush command in Production context.

This change makes the Package class ignore the frozen state in any
context except Development and adds a check in the freezePackage()
method of the PackageManager.

Change-Id: I9c370b89e5c76ced6e6a309bd90ab4115608949a
Fixes: #37223
Releases: 1.1, 1.2

  • added
  • modified
  • copied
  • renamed
  • deleted