Skip to content

[DebugBundle] Remove warning of ServerDumpPlaceholderCommand in console #40498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2021
Merged

Conversation

DemigodCode
Copy link
Contributor

@DemigodCode DemigodCode commented Mar 17, 2021

Q A
Branch? 5.2.5
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #40495
License MIT
Doc PR

In 5.2.5 the console commands are lazy. (#39851)
With this change the ServerDumpCommand::$defaultName is used which isn't set in the placeholder command.
If no vardump-server in debug.dump_destination is defined, this will lead to a warning and not adding the command to the console list.

@xabbuh
Copy link
Member

xabbuh commented Mar 17, 2021

This indeed fixes an issue that would occur in 5.3 due to the changes made in #39851 (5.2.5 seems to have accidentally been installed, these tags have already been removed from the repository).

@nicolas-grekas nicolas-grekas changed the title Remove Warning of ServerDumpPlaceholderCommand in console [DebugBundle] Remove warning of ServerDumpPlaceholderCommand in console Mar 17, 2021
@nicolas-grekas
Copy link
Member

Thank you @DemigodCode.

@nicolas-grekas nicolas-grekas merged commit 285cdb0 into symfony:5.x Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ServerDumpPlaceholderCommand produces warning
4 participants