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

Member > Harvests > Export CSV #3617

Open
CloCkWeRX opened this issue Feb 4, 2024 · 0 comments
Open

Member > Harvests > Export CSV #3617

CloCkWeRX opened this issue Feb 4, 2024 · 0 comments

Comments

@CloCkWeRX
Copy link
Collaborator

CloCkWeRX commented Feb 4, 2024

https://www.growstuff.org/members/clockwerx/harvests.csv

Same cause as #3615 - broken on migration to searchkick

2024-02-04T02:54:07.489741+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831]   
2024-02-04T02:54:07.489992+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831] ActionView::Template::Error (No route matches {"_id"=>"2026", "_index"=>"harvests_production_20200824003643956", "_score"=>21.25801, "_type"=>"_doc", :action=>"show", :controller=>"harvests", "created_at"=>1707012032, "crop_id"=>167, "crop_name"=>"purslane", "crop_slug"=>"purslane", :format=>"csv", "harvested_at"=>"2024-02-04", "has_photos"=>false, "id"=>"2026", :member_slug=>"clockwerx", "owner_id"=>940, "owner_login_name"=>"CloCkWeRX", "owner_slug"=>"clockwerx", "photos_count"=>0, "plant_part_name"=>"whole plant", "planting_id"=>5489, "planting_slug"=>"clockwerx-rosewater-backyard-right-3-purslane", "quantity"=>3.0, "slug"=>"clockwerx-purslane", "thumbnail_url"=>"https://api.gbif.org/v1/image/cache/200x/occurrence/4507715295/media/b7a109b0a4b7b3409630dc1a0b0c457d"}, missing required keys: [:slug]
2024-02-04T02:54:07.489993+00:00 app[web.1]: Did you mean?  harvests_url):
2024-02-04T02:54:07.489994+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831]     29:     csv.cell :crop_id, h.crop.id
2024-02-04T02:54:07.489994+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831]     30:     csv.cell :crop_name, h.crop.to_s
2024-02-04T02:54:07.489995+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831]     31: 
2024-02-04T02:54:07.489995+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831]     32:     csv.cell :plant_part_id, h.plant_part ? h.plant_part.id : ''
2024-02-04T02:54:07.489996+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831]     33:     csv.cell :plant_part_name, h.plant_part ? h.plant_part.to_s : ''
2024-02-04T02:54:07.489996+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831]     34: 
2024-02-04T02:54:07.489996+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831]     35:     csv.cells :quantity, :unit, :weight_quantity, :weight_unit, :si_weight
2024-02-04T02:54:07.489997+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831]   
2024-02-04T02:54:07.489998+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831] app/views/harvests/index.csv.shaper:32
2024-02-04T02:54:07.489998+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831] app/views/harvests/index.csv.shaper:29
2024-02-04T02:54:07.489998+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831] app/views/harvests/index.csv.shaper:28
2024-02-04T02:54:07.489999+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831] app/views/harvests/index.csv.shaper:8
2024-02-04T02:54:07.489999+00:00 app[web.1]: [4b70ce0b-556a-40e3-9da6-4dd8e80f7831] app/controllers/harvests_controller.rb:31:in `index'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant