MigrateToolsCommand::migrationsList() assumes that $options['group'] and $options['tag'] are present, when it's likely they aren't.

Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new978 bytes

This sets default values for the two local variables and only processes the options items if they are present.

Status: Needs review » Needs work

The last submitted patch, 2: migrate_tools-n3370943-2.patch, failed testing. View results

Ajeet Tiwari’s picture

Status: Needs work » Needs review
StatusFileSize
new917 bytes

Please review the patch.

Status: Needs review » Needs work

The last submitted patch, 4: 3370943-4.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

  • heddn committed 03a0887c on 6.0.x authored by DamienMcKenna
    Issue #3370943 by DamienMcKenna, heddn: Undefined array key "tag"...
heddn’s picture

Status: Needs work » Fixed

Thanks for finding this. No credit given for #4 as it has no notable difference to #2 and #2 is what I committed anyway.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.