Skip to content
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

resave/entries has "resave" as its default id #3940

Closed
nilsenpaul opened this issue Mar 4, 2019 · 2 comments
Closed

resave/entries has "resave" as its default id #3940

nilsenpaul opened this issue Mar 4, 2019 · 2 comments

Comments

@nilsenpaul
Copy link
Contributor

Description

If I use the console command resave/entries without any params, it doesn't find any elements. A bit of debugging showed that $this->id in ResaveController.php returns "resave" if no specific id is set. I think this is default Yii2 behaviour.

Steps to reproduce

  1. Run ./craft resave/entries without any params, or at least without --id

Additional info

  • Craft version: 3.1.15
  • PHP version: 7.0
@nilsenpaul nilsenpaul changed the title /craft resave/entries has resave as its default resave/entries has "resave" as its default id Mar 4, 2019
@jonleverrier
Copy link

@nilsenpaul Looks like this was fixed with this commit a308a9e

@nilsenpaul
Copy link
Contributor Author

@jonleverrier Cool, thanks!

brandonkelly added a commit that referenced this issue Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants