If edited multiple time (for example 4 times), the JSON file store multiple times (4 times) the different version of the Recipe
Tonic8 opened this issue · 3 comments
Tonic8 commented
Description
when creating manually a recipe, after saving it, and editing it to correct or add fields, the resulting json is growing. the only field in the group of field that change is the modified time.
Reproduction
Steps to reproduce the behavior:
- Start a new recipe,
- fill the different fields
- Save it
- Edit add another field or edit a field
- Save it
- json is growing
Expected behavior
it should have the recipe one time.
Actual behavior
each time the recipe is saved, the valueInit field is filled with the previous recipe version
Browser
Chrome
Versions
Nextcloud server version: 27.1.6
Cookbook version: 0.10.5
Database system: MariaDB
Attached Recipe file
recipe.json
Tonic8 commented
christianlupus commented
seyfeb commented
This is a bug!