Skip to content

occ migrations:status showes always "Pending Migrations: None" #58569

Description

@chrip

occ migrations:status appname shows allways none pending migrations. No matter how much pending migrations are available.

The cause is a typo: 'lastest' instead of 'latest' int the line
$pending = $ms->describeMigrationStep('lastest');
This likely causes describeMigrationStep() to fail silently or return an empty/null value, so count($pending) evaluates to 0, and the output always falls through to 'None'.

$pending = $ms->describeMigrationStep('lastest');

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions