Bug #53459
Epic #47018: Implement Composer support and clean package manager API
Extension manager - removed extension stays in PackageStates.php as inactive
Status: | Resolved | Start date: | 2013-11-08 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Thomas Maroschik | % Done: | 100% |
|
Category: | Extension Manager | Spent time: | - | |
Target version: | 6.2.0 | |||
TYPO3 Version: | 6.2 | Is Regression: | No | |
PHP Version: | 5.5 | Sprint Focus: | ||
Complexity: |
Description
I have installed and uninstalled extension (pt_extbase), than removed it from server. If i want now upload this extension on the server again it is impossible as EM returns error message "Extension is already available and overwriting was not enabled." (see the attached image).
I'm not sure how this all works now internally, but inside typo3conf/PackageStates.php i have existing entry:
'pt_extbase' =>
array (
'state' => 'inactive',
'packagePath' => 'typo3conf/ext/pt_extbase/',
'classesPath' => 'Classes/',
),
So, it looks like EM checks if package is listed but not if it exists on server?
If i check "Overwite" checkbox in upload form, the extension is uploaded without any problems and installed.
Related issues
Associated revisions
[BUGFIX] Removed extension stays in PackageStates file
Deleting an extension in the Extension Manager doesn't delete
the entry in PackageStates file.
Use the package manager to delete the extension. This will take care of
linked extensions (just remove the link) too.
The package manager will take care to remove the entry from the
PackageStates file.
If an extension is not listed in the PackageStates file (e.g. because
we uploaded it via FTP and forgot to clear the system caches),
directly remove the folder.
Resolves: #53459
Releases: 6.2
Change-Id: I10d5ef33ccf6438fece512478408c57d5d7486de
Reviewed-on: https://review.typo3.org/26921
Reviewed-by: Jan Runte
Tested-by: Jan Runte
Reviewed-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Disable removal of installed extensions
This patch removes the deletion possibility for installed extension in
the list view of the extension manager. Furthermore the javascript can
be adopted as the check for installed extensions can be removed as well.
Resolves: #58493
Related: #53459
Releases: 6.2
Change-Id: I713bbb93230108db144044be9184e77f484931c9
Reviewed-on: https://review.typo3.org/29849
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Sascha Wilking
Tested-by: Sascha Wilking
Reviewed-by: Nadir S.
Tested-by: Nadir S.
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
History
#1 Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26921
#2 Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26921
#3 Updated by Ernesto Baschny over 1 year ago
- Parent task set to #47018
#4 Updated by Thomas Maroschik over 1 year ago
- Assigned To set to Thomas Maroschik
#5 Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26921
#6 Updated by Wouter Wolters over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6b900136cf6ceaf32a14d53b6eea3eca00d020ef.