Skip to content

Commit

Permalink
v3.0.1 -- Fix bug with sprintf and enum (can't cast to string) in Rei…
Browse files Browse the repository at this point in the history
…ndexNodesCommand and SyncNodesCommand.
  • Loading branch information
gdbrown committed Dec 14, 2021
1 parent a5f01fc commit dc2f94b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG-3.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
This changelog references the relevant changes done in 3.x versions.


## v3.0.1
* Fix bug with sprintf and enum (can't cast to string) in ReindexNodesCommand and SyncNodesCommand.


## v3.0.0
__BREAKING CHANGES__

Expand Down
2 changes: 1 addition & 1 deletion src/Command/ReindexNodesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
'<comment>etag:</comment>%s, <comment>title:</comment>%s',
$i,
$node->generateNodeRef(),
$node->get('status'),
$node->fget('status'),
$node->get('etag'),
$node->get('title')
));
Expand Down
2 changes: 1 addition & 1 deletion src/Command/SyncNodesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$i,
$aggregate->getEtag() !== $expectedEtag ? 'SYNCED' : 'MATCHED',
$nodeRef,
$node->get('status'),
$node->fget('status'),
$node->get('etag'),
$node->get('title')
));
Expand Down

0 comments on commit dc2f94b

Please sign in to comment.