Skip to content

Conversation

@SayakaOno
Copy link
Collaborator

Description

Fix the column product.removed does not exist API error.
removed, which belongs to product_farm, was being added to the product table, causing the error.
Since the property should only be updated via DELETE /product, the code was updated to ignore removed when sent from the frontend.
On the frontend, the issue occurred when modifying a product at task completion. Since removed also shouldn’t be included during product creation, the same change was applied there.

Jira link: https://lite-farm.atlassian.net/browse/LF-5022

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Passes test case
  • UI components visually reviewed on desktop view
  • UI components visually reviewed on mobile view
  • Other (please explain)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • The precommit and linting ran successfully
  • I have added or updated language tags for text that's part of the UI
  • I have ordered translation keys alphabetically (optional: run pnpm i18n to help with this)
  • I have added the GNU General Public License to all new files

@SayakaOno SayakaOno self-assigned this Oct 24, 2025
@SayakaOno SayakaOno requested review from a team as code owners October 24, 2025 16:00
@SayakaOno SayakaOno requested review from kathyavini and removed request for a team October 24, 2025 16:00
@SayakaOno SayakaOno added the bug Something isn't working label Oct 24, 2025
Copy link
Collaborator

@kathyavini kathyavini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!! I should have thought to re-test this middleware path after adding removed to the slice. Thank you for fixing!

@kathyavini kathyavini added this pull request to the merge queue Oct 27, 2025
Merged via the queue into integration with commit f529c49 Oct 27, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants