-
Bug
-
Resolution: Won't Do
-
Neutral
-
1.4.5
Intro: There are cases when a user wants two fields to have the same name. One obvious would be having two fieldsets (one for a billing address & one for shipping address) having the same fields (fname, lname, street & so on).
Problem: When adding two fields with different field names but the same label, the summary page will only display one of the fields value.
Source of issue: I believe this is coming from info.magnolia.module.form.templates.components.FormSummaryModel, templateParams.put(title, value); - line 186 - templateParams matches labels to values, so when we have two labels of the same name the value of the first one is overriden
Note: The summary component does seem to have quite a few issues (may have been left out for a while) & might need to be recoded.