Genesys Backend issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues2017-10-27T15:41:31+02:00https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/208Release 2.22017-10-27T15:41:31+02:00Matija ObrezaRelease 2.2Release version 2.2Release version 2.22.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/205CDN with Cloudfront2017-10-25T14:16:43+02:00Matija ObrezaCDN with CloudfrontWe started using Cloudfront for select resources on https://sandbox.genesys-pgr.org.
Allow for CDN DNS name configuration that is used for
1. Static resources in `/html`
1. Geo tiles
1. Repository files
There is existing "CDN" code t...We started using Cloudfront for select resources on https://sandbox.genesys-pgr.org.
Allow for CDN DNS name configuration that is used for
1. Static resources in `/html`
1. Geo tiles
1. Repository files
There is existing "CDN" code that we use for the tiles in (s1.cdn - s4.cdn.genesys-pgr.org). Some of this code can be reused.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/204Improved HTTP cache headers2017-10-25T14:16:43+02:00Matija ObrezaImproved HTTP cache headersStatic resources in `/html`, generated geo tiles (`/explore/tile/*`) and the repository content should use friendlier HTTP headers to allow for improved caching of resources on the client and in Cloudfront.
We can increase cache timeout...Static resources in `/html`, generated geo tiles (`/explore/tile/*`) and the repository content should use friendlier HTTP headers to allow for improved caching of resources on the client and in Cloudfront.
We can increase cache timeouts when #203 is implemented as that will generate hashed names for CSS and other static resources.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/203Migrate to npm2017-12-23T09:22:08+01:00Matija ObrezaMigrate to npmWith **Bower** discontinued, migrate Genesys SCSS build over to `npm`.
* https://bower.io/blog/2017/how-to-migrate-away-from-bower/With **Bower** discontinued, migrate Genesys SCSS build over to `npm`.
* https://bower.io/blog/2017/how-to-migrate-away-from-bower/2.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/202Accession last updated2017-10-25T14:22:56+02:00Matija ObrezaAccession last updatedI see `Last updated by {0} 1 week ago Oct 12, 2017` when visiting https://sandbox.genesys-pgr.org/10.18730/2HY*I see `Last updated by {0} 1 week ago Oct 12, 2017` when visiting https://sandbox.genesys-pgr.org/10.18730/2HY*2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/201Deployment to Docker2017-10-25T11:00:32+02:00Matija ObrezaDeployment to DockerWe require deployment to sandbox and production to be based on recent builds, not on a fixed version tags.
After rebooting the Swarm, things went sour as very old versions of Genesys Docker images got instantiated instead of tihe up-to-...We require deployment to sandbox and production to be based on recent builds, not on a fixed version tags.
After rebooting the Swarm, things went sour as very old versions of Genesys Docker images got instantiated instead of tihe up-to-date code as tagged in the repository.
Tag `sandbox` will be applied to builds of **master branch**.
Tag `production` will be applied to builds of **production tag**.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/198Record changes to Accession data2017-10-20T20:00:21+02:00Matija ObrezaRecord changes to Accession dataAdd `application-blocks` auditing to Genesys to capture changes to accession data.
Supports #197Add `application-blocks` auditing to Genesys to capture changes to accession data.
Supports #1972.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/197Enable audit logging on Accession data2017-10-25T11:00:32+02:00Matija ObrezaEnable audit logging on Accession dataWe currently capture only the date of last change for accession data, but data providers and users would benefit from a full audit log on accession records.
This is achieved by
- Adding `application-blocks` auditing to Genesys to capt...We currently capture only the date of last change for accession data, but data providers and users would benefit from a full audit log on accession records.
This is achieved by
- Adding `application-blocks` auditing to Genesys to capture changes to data
- Displaying audit log where applicable2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/196Report a bug link2017-10-23T10:12:20+02:00Matija ObrezaReport a bug linkChange the link of public issue tracker to https://bitbucket.org/genesys2/issuesChange the link of public issue tracker to https://bitbucket.org/genesys2/issues2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/195JS errors in Explorer2017-10-23T16:13:21+02:00Matija ObrezaJS errors in Explorer```javascript
VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:13232 Uncaught TypeError: Cannot read property 'iso3' of null
at renderTableBody (VM103 explore?filter={"lastModifiedDat...```javascript
VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:13232 Uncaught TypeError: Cannot read property 'iso3' of null
at renderTableBody (VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:13232)
at renderData (VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:13033)
at Object.success (VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:13013)
at j (all.min.js:1)
at Object.fireWith [as resolveWith] (all.min.js:1)
at x (all.min.js:3)
at XMLHttpRequest.<anonymous> (all.min.js:3)
```
And
```javascript
all.min.js:44 Uncaught TypeError: Cannot read property 'length' of undefined
at Object.existInJson (all.min.js:44)
at Object.filterAutocomplete (all.min.js:44)
at HTMLInputElement.<anonymous> (VM103 explore?filter={"lastModifiedDate"%3A["2017-10-12"]%2C+"institute.code"%3A["PER001"]}&page=1:12512)
at HTMLBodyElement.dispatch (all.min.js:2)
at HTMLBodyElement.r.handle (all.min.js:2)
```2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/194Optional INSTCODE in "add many"2017-10-20T19:52:35+02:00Matija ObrezaOptional INSTCODE in "add many"On https://www.genesys-pgr.org/sel/ one can create a list of accessions by ACCENUMB and INSTCODE. At the moment, the INSTCODE is a required field.
Make INSTCODE **optional** and add all accessions from the database that match ACCENUMB ...On https://www.genesys-pgr.org/sel/ one can create a list of accessions by ACCENUMB and INSTCODE. At the moment, the INSTCODE is a required field.
Make INSTCODE **optional** and add all accessions from the database that match ACCENUMB if INSTCODE is not provided.2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/193"results per page" functionality incorrect behaviour2017-10-24T10:18:11+02:00Aleksandr Kirichenko"results per page" functionality incorrect behaviour**This issues appears in Chrome browser!**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "Browse" menu item;
3. Change results per page on any value;
Act.Res: "Loading data from Genesys..." endless pending. Res...**This issues appears in Chrome browser!**
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Click on the "Browse" menu item;
3. Change results per page on any value;
Act.Res: "Loading data from Genesys..." endless pending. Results aren't shown on the page.
See attached video:
![recording_0009](/uploads/93651fb7357817c800b1925fc84ccc55/recording_0009.gif)2.2Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://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/191Cancelling "Edit permissions" leads to 404 error2017-10-23T10:12:20+02:00Aleksandr KirichenkoCancelling "Edit permissions" leads to 404 error**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Save at least one list of accessions
3. In the My List page navigate to the "Accession list" tab;
4. Click on the "Saved lists of accessions" drop-down;
5. Select saved list;
6. N...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org";
2. Save at least one list of accessions
3. In the My List page navigate to the "Accession list" tab;
4. Click on the "Saved lists of accessions" drop-down;
5. Select saved list;
6. Navigate to the "Accession list" tab;
7. Click on the "EDIT PERMISSIONS" button;
8. Click on the "CANCEL" button;
**Act. res.:**Cancelling "Edit permissions" leads to 404 error. See attached video:
![recording_0007](/uploads/506ca1219a0336bb82353df0a6e5885d/recording_0007.gif)2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/190Сursor has shifted, difficult to catch the Login button2017-10-23T10:12:20+02:00Aleksandr KirichenkoСursor has shifted, difficult to catch the Login button**This bug appears on the iPhone devices and iOs**
See attached video, the cursor behaves incorrectly, Login is very difficult.
![rec_001](/uploads/6d89cde633441d2b18752957855c4352/rec_001.MOV)**This bug appears on the iPhone devices and iOs**
See attached video, the cursor behaves incorrectly, Login is very difficult.
![rec_001](/uploads/6d89cde633441d2b18752957855c4352/rec_001.MOV)2.2Svetlana AlieksieievaSvetlana Alieksieievahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/187Configurable default accounts2017-11-02T10:47:10+01:00Matija ObrezaConfigurable default accountsMake configurable default account details for
- First Admin user: email, password
- Default OAuth client: clientId, secret
Because these will be the same for all **review** instances it will be easier to test new functionality.Make configurable default account details for
- First Admin user: email, password
- Default OAuth client: clientId, secret
Because these will be the same for all **review** instances it will be easier to test new functionality.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/186PDCI calculations2017-10-10T17:44:59+02:00Matija ObrezaPDCI calculationsScore for `ORIGCTY` is assigned without any data provided in the accesion.Score for `ORIGCTY` is assigned without any data provided in the accesion.2.2Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/185KML exhausts memory2017-10-27T15:41:31+02:00Aleksandr KirichenkoKML exhausts memoryThe `MappingServiceImpl#filteredKml` is generating the KML in memory and returns a `String`. This exhausts memory on the server.
Please add a test and allow execution if filters give **<= 200,000** records to
1. `mappingService.filtere...The `MappingServiceImpl#filteredKml` is generating the KML in memory and returns a `String`. This exhausts memory on the server.
Please add a test and allow execution if filters give **<= 200,000** records to
1. `mappingService.filteredGeoJson`
1. `mappingService.filteredKml`
Throw exception if filter produces over 200,000 records.
Next, convert the filteredGeoJson to accept the response `OutputStream` and write the KML directly to the response stream, not a `String` buffer.
## Exhausting memory on the server
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the map area;
3. Click on the "DOWNLOAD KML" button;
4. On the Download pop-up click "cancel" button;
5. Click on the "DOWNLOAD KML" button again;
The reproducibility of the error is unstable, and it can take several repetitions.
2.3Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/183User can't generate FTP password2017-10-14T17:49:23+02:00Matija ObrezaUser can't generate FTP passwordUsers with role `VETTED_USER` see button "Generate FTP password". After clicking, the password is not displayed.Users with role `VETTED_USER` see button "Generate FTP password". After clicking, the password is not displayed.2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/182Institute files permissions2017-10-20T19:47:22+02:00Matija ObrezaInstitute files permissionsUsers can see the links to manage institute (and accession) files, but opening the link gives `Access denied`.Users can see the links to manage institute (and accession) files, but opening the link gives `Access denied`.2.2Maxym BorodenkoMaxym Borodenko