You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[4.1.0-rc.2] Categories are not displayed any more #10993
Describe the bug
Categories are not displayed any more because of an error return by the REST API which does not accept any more per_page parameter value with "-1"
To Reproduce
Go to 'Post > All posts'
Click on 'Edit' link on one of the posts
Open chrome developer for seeing what's going wrong
See categories are not displayed
See in the chrome developer tool bar why. See screenshot below with the error message
Expected behavior
Display categories
Screenshots
With Gutenberg 4.1.0-rc.1 version => OK
With Gutenberg 4.1.0-rc.2 version => KO with the error message "per_page: "per_page must be between 1 (inclusive) and 100 (inclusive)"
Hi @danielbachhuber,
It is a plain WordPress 4.9.8 install on my own development machine where I'm doing and testing my developments.
With chrome developer tool bar the "Disable cache" option in the "Network tab" is always checked.
I have some plugins activated as ours which we are developing.
I synchronize Gutenberg plugin directly from Github and build it by myself locally.
So,
I desactivated all the plugins except Gutenberg
I emptied the cache manually
I closed and reopened chrome
I rebuilt correctly Gutenberg in development mode and then in production mode
That's ok now after rebuilding Gutenberg. Very strange behaviour.
I'm closing this issue.
Activity
danielbachhuber commentedon Oct 24, 2018
Hi @manooweb,
Thanks for the report.
The usage of
per_page=-1was removed in #10762. I tested against a local copy of rc2 with WP 4.9.8 and was unable to reproduce the report.Is this a plain WordPress install or do you have other plugins running? Can you try force flushing your browser cache?
manooweb commentedon Oct 24, 2018
Hi @danielbachhuber,
It is a plain WordPress 4.9.8 install on my own development machine where I'm doing and testing my developments.
With chrome developer tool bar the "Disable cache" option in the "Network tab" is always checked.
I have some plugins activated as ours which we are developing.
I synchronize Gutenberg plugin directly from Github and build it by myself locally.
So,
That's ok now after rebuilding Gutenberg. Very strange behaviour.
I'm closing this issue.