Skip to content

Remove excluded "farm" field from ProjectSerializer#657

Merged
vincent-olivert-riera merged 1 commit intoline:masterfrom
hoangpn:bugfix/error_when_calling_retrieve_project_api
Oct 1, 2025
Merged

Remove excluded "farm" field from ProjectSerializer#657
vincent-olivert-riera merged 1 commit intoline:masterfrom
hoangpn:bugfix/error_when_calling_retrieve_project_api

Conversation

@hoangpn
Copy link
Contributor

@hoangpn hoangpn commented Oct 1, 2025

After removing "farm" field from the Project model, calling the Project Retrieve API will cause an AssertionError. This happened because the serializer cannot find the "farm" field which was declared in the excluded field list. We have removed the "farm" field from the excluded field list of ProjectSerializer to resolve this bug.

After removing "farm" field from the Project model, calling the Project Retrieve API
will cause an AssertionError. This happened because the serializer cannot find the
"farm" field which was declared in the excluded field list. We have removed the "farm"
field from the excluded field list of ProjectSerializer to resolve this bug.
@vincent-olivert-riera vincent-olivert-riera merged commit ed514aa into line:master Oct 1, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants