Genesys Backend issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues2017-10-14T17:49:22+02:00https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/166File management for institutes2017-10-14T17:49:22+02:00Matija ObrezaFile management for institutesAdd **Manage files** link to institute page, displayed for users with ADMIN permissions on the institute record. For [BEL084](https://sandbox.genesys-pgr.org/wiews/BEL084) the link would be https://sandbox.genesys-pgr.org/wiews/BEL084/fi...Add **Manage files** link to institute page, displayed for users with ADMIN permissions on the institute record. For [BEL084](https://sandbox.genesys-pgr.org/wiews/BEL084) the link would be https://sandbox.genesys-pgr.org/wiews/BEL084/files/
File management UI and most logic can be copied from existing https://sandbox.genesys-pgr.org/admin/r/files/ (accessible to ADMINISTRATORS).
Institute files are stored at repository paths:
- ~~`/accessions/INSTCODE`~~
- `/wiews/INSTCODE`
2.2https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/165Document file management with FTP2021-02-15T09:51:31+01:00Matija ObrezaDocument file management with FTPAdd **asciidoc** on managing files with FTP.Add **asciidoc** on managing files with FTP.2.5Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/164Respect institute permissions2021-02-15T09:50:43+01:00Matija ObrezaRespect institute permissionsPermissions must be checked for navigation and files management through FTP.
Related to genesys-pgr/file-repository#22Permissions must be checked for navigation and files management through FTP.
Related to genesys-pgr/file-repository#222.5Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/163Error editing repository item properties2017-09-28T15:23:33+02:00Matija ObrezaError editing repository item propertiesUpdating file metadata at https://sandbox.genesys-pgr.org/admin/r/edit?uuid=b9a68477-f212-46c3-9e9f-d7c4a136e280 throws:
```
not-null property references a null or transient value : org.genesys.filerepository.model.RepositoryImage.md5Su...Updating file metadata at https://sandbox.genesys-pgr.org/admin/r/edit?uuid=b9a68477-f212-46c3-9e9f-d7c4a136e280 throws:
```
not-null property references a null or transient value : org.genesys.filerepository.model.RepositoryImage.md5Sum
```2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/162Onboarding / Creating new account2019-11-20T17:25:50+01:00Gregor FrasOnboarding / Creating new account@mobreza
1. Is there really need to be special character(s) in user password? It seems to me that this "rule" is not so common so users can't use their "personal" passwords for Genesys which causes confusion with passwords and problems...@mobreza
1. Is there really need to be special character(s) in user password? It seems to me that this "rule" is not so common so users can't use their "personal" passwords for Genesys which causes confusion with passwords and problems with login.
2. Landing page after user registration is dead-end. We should consider what could be useful links or content on this page. What would we wanted for user to do after registration?
![1](/uploads/d8696a9ea636b31726eed27e445b8db7/1.jpg)
![2](/uploads/d290936f18f1f2cabd84ffc0ef448ad6/2.jpg)2.5Gregor FrasGregor Frashttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/161HTTP error 5002017-09-26T13:07:08+02:00Aleksandr KirichenkoHTTP error 500**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore"
2. In the pagination field enter manually "0" value and click "Enter" key;
**Act.res.:** HTTP ERROR 500 was occurred. See attached videos
![recording_0002](/upl...**Steps:**
1. Go to browse page "https://sandbox.genesys-pgr.org/explore"
2. In the pagination field enter manually "0" value and click "Enter" key;
**Act.res.:** HTTP ERROR 500 was occurred. See attached videos
![recording_0002](/uploads/ab60c9bcd0bd1809ce438992d3fad245/recording_0002.gif)
![recording_0003](/uploads/0e0e0f08db29ba58ba0c884a1af74cfd/recording_0003.gif)
This applies to any pagination except Search.
# Error handling
Please use the /errors/500.jsp to render these errors.2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/160"Results per page" functionality - incorrect behavior2017-09-22T11:41:04+02:00Aleksandr Kirichenko"Results per page" functionality - incorrect behavior**Steps:**
1. Go to "Browse" page "https://sandbox.genesys-pgr.org/explore";
2. Change "Results per page" value on "10" option e.g.;
3. Change number of displayed columns and click apply button;
Act.res.: "Results per page" value turns...**Steps:**
1. Go to "Browse" page "https://sandbox.genesys-pgr.org/explore";
2. Change "Results per page" value on "10" option e.g.;
3. Change number of displayed columns and click apply button;
Act.res.: "Results per page" value turns to option "50";
See attached video:
![recording_0001](/uploads/db8196303be959f4b11a5bd54c6bbc21/recording_0001.gif)2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/159MaxPageLimitException log2017-09-22T11:41:04+02:00Matija ObrezaMaxPageLimitException log`MaxPageLimitException` clutters the log with the entire stack trace:
```
org.genesys2.server.exception.MaxPageLimitException: Genesys does not support requests for data beyond 500th page.
```
For this type of exception, print only the...`MaxPageLimitException` clutters the log with the entire stack trace:
```
org.genesys2.server.exception.MaxPageLimitException: Genesys does not support requests for data beyond 500th page.
```
For this type of exception, print only the message:
```
Genesys does not support requests for data beyond 500th page. Requested page was XXXX.
```2.2Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/158Error /data/view/3892017-09-22T13:29:03+02:00Matija ObrezaError /data/view/389```
org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/metadata/view.jsp at line 127
124: <tr class="acn ${status.count % 2 == 0 ? 'even' : 'odd'}">
125: <td class="idx-col"><c:out value="...```
org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/metadata/view.jsp at line 127
124: <tr class="acn ${status.count % 2 == 0 ? 'even' : 'odd'}">
125: <td class="idx-col"><c:out value="${status.count + pagedData.size * pagedData.number}" /></td>
126: <td class="sel" x-aid="${accession.id}"></td>
127: <td><local:accession-details-link accession="${accession}" /></td>
128: <%-- <td><a href="<c:url value="/geo/${accession.origin}" />"><c:out value="${accession.countryOfOrigin.getName(pageContext.response.locale)}" /></a></td>
129: --%>
130: <td><span dir="ltr" class="sci-name"><c:out escapeXml="false" value="${accession.taxonomy.taxonNameHtml}" /></span></td>
```Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/157Sci names in My List2017-09-19T20:14:08+02:00Matija ObrezaSci names in My ListScientific names are not rendered appropriately: See rendering in the Browser (make sure to select Scientific name in the list of displayed columns).Scientific names are not rendered appropriately: See rendering in the Browser (make sure to select Scientific name in the list of displayed columns).2.1Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/156FTP password2017-09-22T16:33:46+02:00Matija ObrezaFTP passwordAdd property `ftpPassword` to Genesys user.
In user profile page, for roles **ADMINISTRATOR** and **VETTED_USER** display button "Generate FTP password". Upon clicking the button, a random password is generated, the hash of the password...Add property `ftpPassword` to Genesys user.
In user profile page, for roles **ADMINISTRATOR** and **VETTED_USER** display button "Generate FTP password". Upon clicking the button, a random password is generated, the hash of the password is saved to `ftpPassword` and the plain text password is shown one time to the user:
```
Your FTP credentials are:
Username: user's-email
Password: generated-password
```
The new password must pass current PasswordPolicy.
If user has a non-blank `ftpPassword`, her user profile must display the message:
```
Your FTP credentials are:
Username: user's-email
Password: *
```
(Just display the *)2.2Maxym 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/154Release 2.12017-09-20T21:03:52+02:00Matija ObrezaRelease 2.1Release version **2.1**Release version **2.1**2.1Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/153donorName size2017-09-19T13:39:36+02:00Matija ObrezadonorName sizeMake sensible update for `donorName`.
```
Data truncation: Data too long for column 'donorName'
```Make sensible update for `donorName`.
```
Data truncation: Data too long for column 'donorName'
```2.1Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/152Jumpy dropdown menu2017-09-20T15:43:27+02:00Matija ObrezaJumpy dropdown menuOn https://sandbox.genesys-pgr.org/welcome open the "About Genesys" dropdown menu.
Hover over and out of "Last updates of passport data" and observe the change in dropdown menu width.On https://sandbox.genesys-pgr.org/welcome open the "About Genesys" dropdown menu.
Hover over and out of "Last updates of passport data" and observe the change in dropdown menu width.2.1Svetlana AlieksieievaSvetlana Alieksieievahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/151Improve MVC logging2017-09-19T14:31:45+02:00Matija ObrezaImprove MVC loggingLogs are polluted with stack trace for unsupported request method:
```
22:35:39,545 qtp1876631416-646 ERROR o.g.s.s.c.UserControllerAdvice - Request method 'GET' not supported
org.springframework.web.HttpRequestMethodNotSupportedExcepti...Logs are polluted with stack trace for unsupported request method:
```
22:35:39,545 qtp1876631416-646 ERROR o.g.s.s.c.UserControllerAdvice - Request method 'GET' not supported
org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java:207)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:374)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:314)
...
```
Improve log output by printing the message:
```
Request method {} not supported for URL {}
```2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/150Loggers admin failure2017-09-19T20:14:09+02:00Matija ObrezaLoggers admin failureTrying to adjust log levels in Admin pages does not work, it appends a `.` to the listed logger name and that fails to set the new log level of the selected logger.Trying to adjust log levels in Admin pages does not work, it appends a `.` to the listed logger name and that fails to set the new log level of the selected logger.2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/149UX/UI for dataset registration using mobile2017-09-19T13:28:36+02:00Nora Castaneda-AlvarezUX/UI for dataset registration using mobile@mobreza do we need mobile wireframes for dataset registration? see example: https://projects.invisionapp.com/d/#/console/11887652/253167518/preview@mobreza do we need mobile wireframes for dataset registration? see example: https://projects.invisionapp.com/d/#/console/11887652/253167518/previewhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/148Uniting Catalog and Genesys-PGR DBs2017-10-26T10:30:05+02:00Nina Tkachenkon.tkachenko@aimprosoft.comUniting Catalog and Genesys-PGR DBsDear @mobreza and @ncastaneda
Currently we have 2 separate DB’s for our projects (Catalog and Genesys-PGR), which are in facts tightly connected between each other. The more we dig into implementation of Catalog’s structure, the more c...Dear @mobreza and @ncastaneda
Currently we have 2 separate DB’s for our projects (Catalog and Genesys-PGR), which are in facts tightly connected between each other. The more we dig into implementation of Catalog’s structure, the more connections and dependencies we find.
Having interconnected data in two separate DBs will require us to duplicate code and to spend time supporting changes in both DBs
There’re the latest observations we’ve got after discussing the mockups of “Partners” and “Descriptors” for Catalog.
1) Search functionality should be common for two sites: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86546920
2) We should have connection between Partner and Accession: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86544342
3) We should have connection between Partner and Institute: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86544634
4) 2 sites should have common administration section: https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699613/comments/86543918
5) We should use the same crop list in both sites (which is generated dynamically each time) https://projects.invisionapp.com/share/WED8CI5U5#/screens/250699661/comments/86546654
6) Catalog is supposed to be a subsite of Genesys-PGR, in which case if user is logged in on Genesys-pgr and goes to the Catalog, he will find out that he’s not logged in, though it would seem like he hadn’t gone to a different environment.
Thus, on current level of understanding we think it would be reasonable to merge two DB's together in order to improve the effectiveness and speed of work.Nina Tkachenkon.tkachenko@aimprosoft.comNina Tkachenkon.tkachenko@aimprosoft.comhttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/147Fulltext search problem2017-09-19T11:20:25+02:00Matija ObrezaFulltext search problemES-based search at https://sandbox.genesys-pgr.org/acn/search2?q=genesys&section=activitypost or https://sandbox.genesys-pgr.org/acn/search2?q=genesys&section=article fails with
```
Sorry, search failed with error Missing toEntity imple...ES-based search at https://sandbox.genesys-pgr.org/acn/search2?q=genesys§ion=activitypost or https://sandbox.genesys-pgr.org/acn/search2?q=genesys§ion=article fails with
```
Sorry, search failed with error Missing toEntity implementation for class=null
```Maxym BorodenkoMaxym Borodenko