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

Closed
whisere opened this issue Jan 29, 2024 · 4 comments
Closed

import error #3008

whisere opened this issue Jan 29, 2024 · 4 comments
Assignees

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#)
@dnoneill dnoneill self-assigned this Oct 16, 2024
@dnoneill
Copy link
Contributor

@whisere could you give me more info on the steps you took to get this to error. I have tried multiple different import/export configurations and I haven't been able to get this error to show up.

@dnoneill
Copy link
Contributor

@whisere I am going to close this issue on Wednesday Oct 23 if I don't hear from you.

@whisere
Copy link
Contributor Author

whisere commented Oct 21, 2024

Thanks @dnoneill , no problem, I think this has been resolved.

@whisere whisere closed this as completed Oct 21, 2024
@dnoneill
Copy link
Contributor

Thank you.

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