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/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/168Upload repository metadata for institutes2017-12-23T09:22:08+01:00Matija ObrezaUpload repository metadata for institutesDepends on #167.
Allow ADMINISTRATOR and Institute ADMINISTRATOR to upload a CSV file with updated metadata for institute files.
Sample file as generated by #167 is attached: [ETH013_files_metadata__6_.csv](/uploads/e6a11f96b134c982382...Depends on #167.
Allow ADMINISTRATOR and Institute ADMINISTRATOR to upload a CSV file with updated metadata for institute files.
Sample file as generated by #167 is attached: [ETH013_files_metadata__6_.csv](/uploads/e6a11f96b134c9823826f2fc9eb6b6e6/ETH013_files_metadata__6_.csv)
The users will
1. Upload files to the server
1. Download metadata CSV and make local changes to the file
1. Upload modified CSV file
Genesys will update RepositoryFile metadata based on the `uuid` -- `version` can be ignored for now. Only the following fields will be updated from CSV:
* title
* subject
* description
* creator
* created
* rightsHolder
* accessRights
* license
* bibliographicCitation
2.3