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

import error #3008

Open
whisere opened this issue Jan 29, 2024 · 0 comments
Open

import error #3008

whisere opened this issue Jan 29, 2024 · 0 comments

Comments

@whisere
Copy link
Contributor

whisere commented Jan 29, 2024

try export and import json:

no implicit conversion of Symbol into String:

```

def deserialize_featured_image(obj, method, data)
file = data.delete(:image)
image = obj.public_send("build_#{method}")
image.update(data)
if file



[Application Trace](http://localhost:3000/spotlight/test/import#) | [Framework Trace](http://localhost:3000/spotlight/test/import#) | [Full Trace](http://localhost:3000/spotlight/test/import#)
[spotlight (00789a235c38) app/services/spotlight/exhibit_import_export_service.rb:211:in `delete'](http://localhost:3000/spotlight/test/import#)
[spotlight (00789a235c38) app/services/spotlight/exhibit_import_export_service.rb:211:in `deserialize_featured_image'](http://localhost:3000/spotlight/test/import#)
[spotlight (00789a235c38) app/services/spotlight/exhibit_import_export_service.rb:181:in `block in from_hash!'](http://localhost:3000/spotlight/test/import#)
[spotlight (00789a235c38) app/services/spotlight/exhibit_import_export_service.rb:175:in `each'](http://localhost:3000/spotlight/test/import#)
[spotlight (00789a235c38) app/services/spotlight/exhibit_import_export_service.rb:175:in `from_hash!'](http://localhost:3000/spotlight/test/import#)
[spotlight (00789a235c38) app/models/spotlight/exhibit.rb:111:in `block in import'](http://localhost:3000/spotlight/test/import#)
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

1 participant