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
When the site has more than 50 guest authors, the Gutenberg widget may malfunction and display an infinite spinner after loading. This issue seems to be caused by the API returning only the first 50 records in alphabetical order. If an author outside of this list is selected, the plugin fails to retrieve the necessary value.
Steps to Reproduce:
Add more than 50 guest authors to the site.
Open the Gutenberg editor and try to use the widget.
Select a guest author that is alphabetically beyond the first 50 in the list.
Expected Result:
The widget should function correctly and display the selected guest author.
Actual Result:
The widget shows an infinite spinner and does not load properly.
Additional Information:
It appears that the API call is limited to 50 records. The plugin needs to handle pagination or request more records to include all guest authors.
The text was updated successfully, but these errors were encountered:
antonlukin
changed the title
Gutenberg Widget Fails with More Than 50 Guest Authors
Gutenberg widget fails with more than 50 guest authors
May 29, 2024
When the site has more than 50 guest authors, the Gutenberg widget may malfunction and display an infinite spinner after loading. This issue seems to be caused by the API returning only the first 50 records in alphabetical order. If an author outside of this list is selected, the plugin fails to retrieve the necessary value.
Steps to Reproduce:
Add more than 50 guest authors to the site.
Open the Gutenberg editor and try to use the widget.
Select a guest author that is alphabetically beyond the first 50 in the list.
Expected Result:
The widget should function correctly and display the selected guest author.
Actual Result:
The widget shows an infinite spinner and does not load properly.
Additional Information:
It appears that the API call is limited to 50 records. The plugin needs to handle pagination or request more records to include all guest authors.
Co-Authors-Plus/src/components/co-authors/index.jsx
Line 73 in 1c29766
The text was updated successfully, but these errors were encountered: