Opened 4 years ago
Closed 2 years ago
#2661 closed defect (fixed)
accession groups
| Reported by: | Kay Kittell | Owned by: | Kay Kittell |
|---|---|---|---|
| Priority: | medium | Milestone: | Server 2.3.3 |
| Component: | Public Website 2 | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
An accession may be in more than one group. The code needs to be changed to modify it as such.
Change History (5)
comment:1 by , 4 years ago
| Milestone: | → Server 2.3.3 |
|---|---|
| Status: | new → addressed |
comment:2 by , 4 years ago
All was working for 1 group, but I added group attach records for the same two images to 3 other groups and made them visible also. GRANTED an extreme situation, but the planting 2 and planting 3 groups did not show correctly.
https://npgsdev.ars-grin.gov/gringlobal/accessiondetail?id=1927698
Getting close
comment:3 by , 4 years ago
The set up of the groups for this test is that accessions can be in two groups, but not more. It appears that the second group formatting is messed up a bit. Here is an accession that is in the main planting group and planting group 3. I'll amend the previous comment in that the accession being shown only belonged to 2 visible groups and not 3 modifying what I said planting 2 and planting 3 did not show correctly. The accession above as only in the main group and planting 1.
https://npgsdev.ars-grin.gov/gringlobal/accessiondetail?id=1614760
Again in maize this is an unusual situation, but who is to say some other group is not doing something like this.
comment:4 by , 4 years ago
Appears to work correctly. I'll close as soon as the fix appears on prod.
comment:5 by , 2 years ago
| Resolution: | → fixed |
|---|---|
| Status: | addressed → closed |

Changed controls/accessiondetail/accessiongroup. The group information was put into a repeater control to handle multiple groups. The image and information about how many images in the group was also modified as some information was hardcoded into the project.