AY2021S1-CS2103T-W10-2/tp

[PE-D] Duplicate issue not detected when images are different

Closed this issue · 1 comments

Steps to reproduce:

  1. addR n/salad i/lettuce, tomato, olive oil c/40 instr/Cook pasta. Serve immediately. t/fast t/easy
  2. addR n/salad i/lettuce, tomato, olive oil c/40 img/images/healthy1.jpg instr/Cook pasta. Serve immediately. t/fast t/easy
    You can also change it to any *invalid image like healthy10.jpg

It is the same recipe except there no image in the first entry.

image.png


Labels: severity.Medium type.FunctionalityBug
original: todoge/ped#2

When checking for same recipe, instr, recipeimage and tag does not matter

recipeName and ingredient name (ingredient name already in another issue) should not be case sensitive

In recipe, diff order of ingredient should still return the same recipe (backup is ty)

Specify in UG that image, tag, instr does not play a role in isSameRecipe