Tripletex / Tripletex/tripletex-api2
isCustomer set to false after PUT /customer/{id}
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 49
- Forks
- 47
- Avg merge
- 1h 1m
- Merged PRs (30d)
- 1
Description
There seems to be some hidden validation going on when updating customers via the API.
Steps to reproduce:
- In Tripletex web client, change existing customer to type "Kunde/leverandør" and click SAVE.
- PUT to /customer/{id} endpoint with or without any changes to customer attributes.
- Reload customer in web client and see that customer type has changed to "Leverandør".
Expected behaviour:
- Customer type should remain the same after calling PUT /customer/{id}, not change to "Leverandør".
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported PUT /customer/{id} sequence after setting an existing customer to “Kunde/leverandør” in the Tripletex web client. Trace the API entry point for this update and verify that the customer type remains unchanged after a PUT with and without attribute changes.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100