Question: updateData exception with custom editor
See original GitHub issueI recently found your package … kudos! Anyway I have a PriceEditor based on your example. I receiving this exception after the updateData call in the PriceEditor.
Uncaught Error: Objects are not valid as a React child (found: object with keys {cost, players, hours, fixed, fixedPerHour, playerFixed, playerPerHour}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of
TableBody.
Otherwise the editor works as expected although the exception is causing follow on functionality to fail. It would seem that the object being returned is the state of the PriceEditor. Not sure what i missed. Suggestions. Thanks
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Value cannot be null Exception when updating data templates ...
First solution is to solve problem with OOTB / default values to showcase that Commerce 9 is installed and up and running. Share....
Read more >Sitecore Commerce 9 Updating Data Templates Gives ...
Problem Description. When I hit the “Update Data Templates” button, we received this error: commerceerror.PNG. Precise exceptions logged:.
Read more >How to update a spinner dynamically? - android
dbAdapter is my link to the database adapter is a custom adapter i made that extends BaseAdapter and implements SpinnerAdapter. I tried what...
Read more >Add Custom Data to Exceptions -- Visual Studio Magazine
You can add additional information to any Exception object to help you debug your application when something goes horribly wrong.
Read more >App Architecture: Data Layer - DataStore - Android Developers
Explore this app architecture guide on data layer libraries to learn about Preferences DataStore and Proto DataStore, Setup, and more.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please forgive me for the nube question … it looks as though this exception is being thrown in the dataFormat function on the table column. It would appear that when using the custom editor the row dataField value is an object containing the state of customEditor and not an atomic value. Sorry for the confusion.
um…, it’s really hard to understand QQ
BTW, show your raw data and how you render
react-bootstrap-table
And if you can give my a minimal and simple example which can reproduce this issue will be appreciated. Because I have no much time to tune and configure or guess your code.
Thanks.