spotlight icon indicating copy to clipboard operation
spotlight copied to clipboard

import error

Open whisere opened this issue 5 months ago • 0 comments

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#)

whisere avatar Jan 29 '24 04:01 whisere