Genesys Backend issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues2023-05-26T11:02:38+02:00https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/590ES full reindex with slow-down2023-05-26T11:02:38+02:00Matija ObrezaES full reindex with slow-downThe `scanDatabase` can sometimes be waaaaaay faster than our ES queue processor and ES service itself.
I'm getting `Update queue size: 1559000`: 1.5M elements in the reindex queue and that indicates that the indexing is falling behind o...The `scanDatabase` can sometimes be waaaaaay faster than our ES queue processor and ES service itself.
I'm getting `Update queue size: 1559000`: 1.5M elements in the reindex queue and that indicates that the indexing is falling behind of scanning.
The queue size should not be larger than 10,000 entries at any moment.
The queue grows that large because of
1. Slow indexing
1. Fast scheduling
Where is the bottleneck?Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/540Extended MCPD Excel export2020-08-29T21:25:50+02:00Matija ObrezaExtended MCPD Excel exportAdd columns `GRIN_TAXON_ID`, `GRIN_NAME` and `GRIN_AUTHOR` to the Excel MCPD export.
This requires a `leftJoin(taxonomy.currentGrinTaxonomy)` to export `currentGrinTaxonomy.id`, `.name`, `.nameAuthority`.
Requires !568Add columns `GRIN_TAXON_ID`, `GRIN_NAME` and `GRIN_AUTHOR` to the Excel MCPD export.
This requires a `leftJoin(taxonomy.currentGrinTaxonomy)` to export `currentGrinTaxonomy.id`, `.name`, `.nameAuthority`.
Requires !5682.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/359Upgrade to Data Provider2018-11-27T19:13:52+01:00Matija ObrezaUpgrade to Data Providergenesys-pgr/genesys-ui#79 discusses **Data providers**.
## Changes to data model
**FaoInstitute**
A single FaoInstitute can have only one data provider (partner):
- Add `@ManyToOne` property `private Partner owner` to `FaoInstitute`....genesys-pgr/genesys-ui#79 discusses **Data providers**.
## Changes to data model
**FaoInstitute**
A single FaoInstitute can have only one data provider (partner):
- Add `@ManyToOne` property `private Partner owner` to `FaoInstitute`.
- Add `aclParentEntity() { return this.owner }` to `FaoInstitute`.
**Partner**
A partner "owns" multiple FaoInstitute records:
- Add `@OneToMany` property `private List<FaoInstitute> institutes` to `Partner`, remove existing `private Set<String> wiewsCodes`.
- Update `liquibase` to migrate data before dropping the table.
## AccessionData
- Add `@ManyToOne` property `private Partner owner` to `FaoInstitute`.
Also use:
```java
// AccessionData
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "shortName")
@JsonIdentityReference(alwaysAsId = true)
```2.5Viacheslav PavlovViacheslav Pavlovhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/245Map isn't displayed on the /org/CGIAR/map page2021-02-15T09:58:38+01:00Aleksandr KirichenkoMap isn't displayed on the /org/CGIAR/map page**Steps:**
1. Go to the "https://sandbox.genesys-pgr.org/org/CGIAR" page;
2. Click on the VIEW MAP button;
**Expected result:** Map is displayed.
**Actual result:** Map isn't displayed. See attached screen:
![SCR_0071](/uploads/47da0d1...**Steps:**
1. Go to the "https://sandbox.genesys-pgr.org/org/CGIAR" page;
2. Click on the VIEW MAP button;
**Expected result:** Map is displayed.
**Actual result:** Map isn't displayed. See attached screen:
![SCR_0071](/uploads/47da0d15aa5382f7b45e3a7f5cec01b6/SCR_0071.png)https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/192Ability to save empty list of accessions2017-10-27T15:41:31+02:00Aleksandr KirichenkoAbility to save empty list of accessions**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "My List" menu item;
3. Make sure that there are no saved lists of accessions;
4. Navigate to "Accession List" tab;
5. Fill "List title" and "List description" fields...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "My List" menu item;
3. Make sure that there are no saved lists of accessions;
4. Navigate to "Accession List" tab;
5. Fill "List title" and "List description" fields;
6. Click on the "CREATE NEW LIST" button;
**Act.Res:** "Your list of accessions successful saved." message was displayed and new empty list was created.
See attached video:
![recording_0008](/uploads/aee6f757cf5e96700f412d54d765c0b6/recording_0008.gif)2.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/189"Accession map" on the home page doesn't lead to the map2017-10-23T10:12:20+02:00Aleksandr Kirichenko"Accession map" on the home page doesn't lead to the map"Accession map" on the home page doesn't lead to the map on mobile devices
**Tested on following devices and environments**:
Samsung Galaxy J7 2016 J710F / Android 6
iPhone 6s / iOs 11.0.2
Tablet Nexus 7 / Android 6
Steps:
1. Go to..."Accession map" on the home page doesn't lead to the map on mobile devices
**Tested on following devices and environments**:
Samsung Galaxy J7 2016 J710F / Android 6
iPhone 6s / iOs 11.0.2
Tablet Nexus 7 / Android 6
Steps:
1. Go to: "https://sandbox.genesys-pgr.org";
2. Scroll down to the "accession map" section;
3. Click on the Map image in the "Accession map" section.
![m_ph_01](/uploads/14313f49ef516f271eea9353a5370b91/m_ph_01.png)
**Act.res** "Accession map" on the home page doesn't lead to the mapSvetlana AlieksieievaSvetlana Alieksieievahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/179Article templates2021-02-15T09:52:04+01:00Matija ObrezaArticle templatesSome existing **global** articles are actually templates in the system.
Allow for editing of `Article#template` flag only for `ContentService#getDefaultLanguage`. If the flag changes, update all articles with the same `slug` to the sta...Some existing **global** articles are actually templates in the system.
Allow for editing of `Article#template` flag only for `ContentService#getDefaultLanguage`. If the flag changes, update all articles with the same `slug` to the state as set for default language.
Indexing and deleting from ES index was taken care of in 50bc2ad69438f27ae876e587eb526005f10f296e.2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/155Pagination buttons aren't disabled2018-07-23T07:11:25+02:00Aleksandr KirichenkoPagination buttons aren't disabledWhen there is only one page in the results, the pagination buttons are not disabled
**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore";
2. Add several accessions in My List 3 for example;
3. Click on the "My List"...When there is only one page in the results, the pagination buttons are not disabled
**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore";
2. Add several accessions in My List 3 for example;
3. Click on the "My List" menu item;
4. Click on the ">" Next page button
Act.res.: ">" Next page button is enabled, and transition to the 2nd page is performed; See attached video
[rec_017.avi](/uploads/c4ff45f05ec2caa8a97484108fc3567a/rec_017.avi)
![SCR_0048](/uploads/70a01f567c8081bb3140632e4aa79ca4/SCR_0048.png)
This also applies to any pagination on the site except search. In the search it is implemented as needed. For example, watch the video: [rec_018.avi](/uploads/785e41edc7d6d6bda744c5a0629250de/rec_018.avi)2.4Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/126Default cursor isn't changing to cursor pointer in the "HELP" section.2017-09-13T16:08:14+02:00Aleksandr KirichenkoDefault cursor isn't changing to cursor pointer in the "HELP" section.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Hover mouse over the "Visit the tutorials section to learn how to use Genesys." link
**Act.res.:** Default cursor isn't changed to cursor pointer. See attached video.[rec...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Hover mouse over the "Visit the tutorials section to learn how to use Genesys." link
**Act.res.:** Default cursor isn't changed to cursor pointer. See attached video.[rec_012.avi](/uploads/cbb58be7a5c2c447bf63e00b2a5f3e37/rec_012.avi)Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/101Not-usability and almost impossible to manage "select area" functionality in ...2019-04-15T11:12:58+02:00Aleksandr KirichenkoNot-usability and almost impossible to manage "select area" functionality in mobile devices and Web.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/explore/map?";
2. Click "select area" item;
3. Try to re-size area;
4. Do the same in mobile devices;
**Act.Res.:** It's difficult to manage. See attached video.[rec_007.avi](/upload...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/explore/map?";
2. Click "select area" item;
3. Try to re-size area;
4. Do the same in mobile devices;
**Act.Res.:** It's difficult to manage. See attached video.[rec_007.avi](/uploads/843bbe6976ba62aaab0ce54bc19a5d0f/rec_007.avi)Oleksii SavranOleksii Savranhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/96Weak zooming on the "WIEWS Institutes" map.2018-12-21T17:35:40+01:00Aleksandr KirichenkoWeak zooming on the "WIEWS Institutes" map.**Steps:**
1. Go to: "https://sandbox.genesys-pgr.org/welcome";
2. Click on "Institutes" menu item;
3. Click on "VIEW MAP" button;
4.Perform max zoom;
**Act.res.:** Weak zoom. See attached screen.![SCR_0010](/uploads/fbef3da03c12e8b7917...**Steps:**
1. Go to: "https://sandbox.genesys-pgr.org/welcome";
2. Click on "Institutes" menu item;
3. Click on "VIEW MAP" button;
4.Perform max zoom;
**Act.res.:** Weak zoom. See attached screen.![SCR_0010](/uploads/fbef3da03c12e8b791723bcd9a3ab2ba/SCR_0010.png)Andrey GarnitskiyAndrey Garnitskiyhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/84Add front-end validation on the manual input in the pagination field.2018-08-30T14:39:22+02:00Aleksandr KirichenkoAdd front-end validation on the manual input in the pagination field.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the "Browse" menu item;
3. Input manually some text or special characters in the pagination field;
4. Click Enter key.
**Exp.res.:** Pagination field does not ac...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the "Browse" menu item;
3. Input manually some text or special characters in the pagination field;
4. Click Enter key.
**Exp.res.:** Pagination field does not accept input text and special characters.
**Act.res.:** Pagination field accept input text and special characters. See attached screen.![SCR_0006](/uploads/a629b23af140f54b9943249a28ce1599/SCR_0006.png)Andrey GarnitskiyAndrey Garnitskiyhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/82"ADD OAUTH CLIENT" functionality isn't working.2019-02-18T16:19:28+01:00Aleksandr Kirichenko"ADD OAUTH CLIENT" functionality isn't working.**"Steps:"**
1. Go to https://sandbox.genesys-pgr.org/welcome ;
2. Login as ADMINISTRATOR;
3. Go to "My profile";
4. Click on the "ADD OAUTH CLIENT" button.
**Act.res.:** "ADD OAUTH CLIENT" functionality isn't working. HTTP ERROR 404 w...**"Steps:"**
1. Go to https://sandbox.genesys-pgr.org/welcome ;
2. Login as ADMINISTRATOR;
3. Go to "My profile";
4. Click on the "ADD OAUTH CLIENT" button.
**Act.res.:** "ADD OAUTH CLIENT" functionality isn't working. HTTP ERROR 404 was occurred See attached screens.![SCR_0003](/uploads/02aba21515d458c6686cf4b16d8b3d77/SCR_0003.png)![SCR_0002](/uploads/489d47bc4df9ffa9f02d537799262aa5/SCR_0002.png)Andrey GarnitskiyAndrey Garnitskiyhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/81"LIST OF OAUTH CLIENTS" functionality isn't working.2018-12-21T17:36:31+01:00Aleksandr Kirichenko"LIST OF OAUTH CLIENTS" functionality isn't working.**Steps:**
1. Go to https://sandbox.genesys-pgr.org/welcome ;
2. Login as ADMINISTRATOR;
3. Go to "My profile";
4. Click on the "LIST OF OAUTH CLIENTS" button;
**Act.res.:** "LIST OF OAUTH CLIENTS" functionality isn't working. "HTTP ER...**Steps:**
1. Go to https://sandbox.genesys-pgr.org/welcome ;
2. Login as ADMINISTRATOR;
3. Go to "My profile";
4. Click on the "LIST OF OAUTH CLIENTS" button;
**Act.res.:** "LIST OF OAUTH CLIENTS" functionality isn't working. "HTTP ERROR 404" was occurred. See attached screens![SCR_0001](/uploads/7e3b28b9fd13f08679ffa78b6f526adc/SCR_0001.png)![SCR_0002](/uploads/333b26cfda9a078ddbbf2bbc1bd2af08/SCR_0002.png)Andrey GarnitskiyAndrey Garnitskiy