Bug #30261
CLI Help throws exception if related comments are not available
Status: | Resolved | Start date: | 2011-09-24 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | Command | |||
Target version: | TYPO3 Flow Base Distribution - 1.0.0 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
The flow3:help:help
command parses "see" annotations of the commands and retrieves their method description.
This leads to an exception if the target command is not available (e.g. if the respective package is not loaded).
For example: flow3 help package:create
throw an exception if the kickstarter package is not installed.
Associated revisions
[BUGFIX] CLI Help throws exception if related comments are not available
The flow3:help:help command parses @see annotations of the
commands and retrieves the method description of related
commands.
This leads to an exception if the target command is not
available (e.g. if the respective package is not loaded).
This change fixes this by replacing the short description
with "<i>Command not available</i>" in those cases.
Change-Id: I961cdeaf2a0928017bdfaec16bfcb014ee428076
Resolves: #30261
History
#1 Updated by Mr. Hudson almost 4 years ago
- Status changed from Accepted to Under Review
Patch set 1 of change I961cdeaf2a0928017bdfaec16bfcb014ee428076 has been pushed to the review server.
It is available at http://review.typo3.org/5343
#2 Updated by Mr. Hudson almost 4 years ago
Patch set 2 of change I961cdeaf2a0928017bdfaec16bfcb014ee428076 has been pushed to the review server.
It is available at http://review.typo3.org/5343
#3 Updated by Bastian Waidelich almost 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 75a8b899390e115cbf5028abcb485029547aeb7d.