PM Sent.
Thank you in advance
Hi @ed.sparks,
I played the migration on my side, but unfortunately, I am not able to reproduce the problem.
Could you put a debugger on the corresponding line of your local gem: https://github.com/ForestAdmin/forest-rails/blob/5e71fda41ea6992c3d4d844f1718edd5abeaf3f2/app/controllers/forest_liana/resources_controller.rb#L244
And look if campaign_id
is present in params[:fields]
and fields_to_serialize
.
Do the records
also contain the campaign_id
?
Does the problem apply only to the search action or also to the list and show?
‘campaign_id’ is present in both the params[:fields] object and fields_to_serialize
and the records are all showing the correct campaign_id values in the objects
It seems that the issue comes from the gem forestadmin-jsonapi-serializers
.
Could you put a debugger on the corresponding line of your local gem: forest-rails/application_controller.rb at main · ForestAdmin/forest-rails · GitHub
Is campaign_id present in json ?
Hi Nicolasa,
It looks like you were right, campaign_id does not appear in the json object.
Is there any more information you need from me on this?
I have detect an issue on our side. I have created a bug ticket that can be followed here.
You’ll be pinged on this thread once fixed.