Genesys Backend issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues2017-10-13T20:42:44+02:00https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/66"Create a new team" functionality isn't working.2017-10-13T20:42:44+02:00Aleksandr Kirichenko"Create a new team" functionality isn't working.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Login as any user;
3. Go to "My profile";
4. Enter Team name;
5. Click "CREATE" button.
**Act.res.:** "Create a new team" functionality isn't not working. "Create" button...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Login as any user;
3. Go to "My profile";
4. Enter Team name;
5. Click "CREATE" button.
**Act.res.:** "Create a new team" functionality isn't not working. "Create" button isn't clickable.Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/68Incorrect behavior of the alphabetical navigation.2017-12-18T14:13:58+01:00Aleksandr KirichenkoIncorrect behavior of the alphabetical navigation.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Go to "Countries" Page;
3. Click on any letter, "Q" for example;
Act.res.: The list with the letter "Q" is hidden under the header.
See attached screen.![Selection_023](/...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Go to "Countries" Page;
3. Click on any letter, "Q" for example;
Act.res.: The list with the letter "Q" is hidden under the header.
See attached screen.![Selection_023](/uploads/ac508ddb3593083d4af53a85f4def70a/Selection_023.png)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/72It's impossible to requests for data beyond 501th page.2017-09-03T21:40:24+02:00Aleksandr KirichenkoIt's impossible to requests for data beyond 501th page.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on "Browse" menu item;
3. In the pagination field enter "502" and press enter key;
Act.res: It's impossible to requests for data beyond 501th page.
See attached scre...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on "Browse" menu item;
3. In the pagination field enter "502" and press enter key;
Act.res: It's impossible to requests for data beyond 501th page.
See attached screen.![1499164614968](/uploads/37f4231aba6df7fada850460f1e8a7e8/1499164614968.jpg)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/78Creating new lists of accessions impossible for USER2017-09-19T14:55:38+02:00Aleksandr KirichenkoCreating new lists of accessions impossible for USER@mobreza, @ncastaneda Could you give some explanation, who can create the list of accessions? It's Administrator, or it doesn't matter..? Logically it looks like any logged user can do it. But as I see now it's impossible for simple regi...@mobreza, @ncastaneda Could you give some explanation, who can create the list of accessions? It's Administrator, or it doesn't matter..? Logically it looks like any logged user can do it. But as I see now it's impossible for simple registered user. Is it wrong behaviour, or it's ok?![Saved_lists_of_accessions](/uploads/3efb1eddcd665b7283c48aa35062aceb/Saved_lists_of_accessions.png)![403_-_Access_denied](/uploads/3608d14926b96110e8f29abe4f7c004d/403_-_Access_denied.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/80Missing Javascripts2017-08-03T04:36:37+02:00Matija ObrezaMissing JavascriptsAdmin pages make reference to `main.js` and `jsonclient.js`, both not available and return `404 NOT FOUND`.
These libraries provided JS API calls to the server to manage user account locked/unlocked, enable/disable states.
https://sand...Admin pages make reference to `main.js` and `jsonclient.js`, both not available and return `404 NOT FOUND`.
These libraries provided JS API calls to the server to manage user account locked/unlocked, enable/disable states.
https://sandbox.genesys-pgr.org/admin/users/2f497d4f-93d0-3d4d-92ab-ce208e8cc344:
![lock-unlock](/uploads/aa26b954ea68946321604372c0db9469/lock-unlock.png)https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/83"VIEW MAP" button doesn't lead to the map.2017-07-17T11:43:34+02:00Aleksandr Kirichenko"VIEW MAP" button doesn't lead to the map.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the "Institutes" menu item;
3. Click on "VIEW MAP" button;
**Act.res**: "VIEW MAP" button doesn't lead to the map. See attached screens.![SCR_0004](/uploads/c5f9...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the "Institutes" menu item;
3. Click on "VIEW MAP" button;
**Act.res**: "VIEW MAP" button doesn't lead to the map. See attached screens.![SCR_0004](/uploads/c5f96976ad31fb7cb9291e4397d25241/SCR_0004.png)![SCR_0005](/uploads/25ab9cf9115b8bf3624b2ca867c80add/SCR_0005.png)https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/86Migrate to FreeMarker2021-02-15T09:47:39+01:00Matija ObrezaMigrate to FreeMarkerAs of Spring 4.3, the `VelocityEngineFactoryBean` is deprecated in favor of FreeMarker:
```
[INFO] src/main/java/org/genesys2/spring/config/SpringMailConfig.java: Some input files use or override a deprecated API.
[INFO] src/main/java/o...As of Spring 4.3, the `VelocityEngineFactoryBean` is deprecated in favor of FreeMarker:
```
[INFO] src/main/java/org/genesys2/spring/config/SpringMailConfig.java: Some input files use or override a deprecated API.
[INFO] src/main/java/org/genesys2/spring/config/SpringMailConfig.java: Recompile with -Xlint:deprecation for details.
```
All templates that are now passed through Velocity must be converted to FreeMarker format (email templates mostly).
Add a unit test that will load both the old and the new templating engine and test that templates using FreeMarker generate same output (for same parameters) as Velocity.
Estimate?Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/87Impossibility to save changes in the edited profile.2017-07-17T11:43:35+02:00Aleksandr KirichenkoImpossibility to save changes in the edited profile.This issue appears when user under USER role and under ADMINISTRATOR role edited their profiles and trying to save changes.
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Login as USER or ADMINISTRATOR;
3. Go to "My...This issue appears when user under USER role and under ADMINISTRATOR role edited their profiles and trying to save changes.
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Login as USER or ADMINISTRATOR;
3. Go to "My profile";
4. Click on the "Edit" button;
5. Make Changes;
6. Click "Save button".
**Act.res.:** Changes isn't saved, "500 - Internal Server Error" was occurred.
See attached video.
[rec_002.avi](/uploads/37db75b8324be29b3777a1c22fa1e0fe/rec_002.avi)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/89Impossibility to Logout when user on the "Browse" page2017-07-17T11:43:36+02:00Aleksandr KirichenkoImpossibility to Logout when user on the "Browse" pageThis issue appears in Chrome browser!
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome;
2. Login as USER or ADMINISTRATOR;
3. Click on the "Browse" menu item; (https://sandbox.genesys-pgr.org/explore)
4. Click on the use...This issue appears in Chrome browser!
**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome;
2. Login as USER or ADMINISTRATOR;
3. Click on the "Browse" menu item; (https://sandbox.genesys-pgr.org/explore)
4. Click on the user name in header;
5. Click on the "Logout" item in the drop-down menu;
**Act.res:** Impossibility to Logout when user on the "Browse" page.
See attached video.[rec_003.avi](/uploads/6879a8b33b80a25fc4158b6211bc5f0f/rec_003.avi)https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/102Impossibility to Apply filters on the overview institute page.2017-07-26T02:44:07+02:00Aleksandr KirichenkoImpossibility to Apply filters on the overview institute page.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome".
2. Login as ADMINISTRATOR/USER or stay as Guest.
3. Click on the "Institutes" menu item.
4. Click on any institute from the list.
5. Click on the "Overview" button.
6. Chang...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome".
2. Login as ADMINISTRATOR/USER or stay as Guest.
3. Click on the "Institutes" menu item.
4. Click on any institute from the list.
5. Click on the "Overview" button.
6. Change filters value.
7. Click "Apply" button.
**Act.res.:** "Failed to load data. Please retry." error was occurred. See attached screen.
![SCR_0013](/uploads/34381692ea8b2067703bffe5daf60e31/SCR_0013.png)Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/103Map of the selected accessions is absent.2017-07-26T02:43:58+02:00Aleksandr KirichenkoMap of the selected accessions is absent.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Login as ADMINISTRATOR / USER;
3. Click on the "Browse" menu item;
4. Mark check-boxes of the several accessions;
5. Click on the "My list" menu item;
6. Click on the "SHO...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Login as ADMINISTRATOR / USER;
3. Click on the "Browse" menu item;
4. Mark check-boxes of the several accessions;
5. Click on the "My list" menu item;
6. Click on the "SHOW ACCESSION MAP" button.
**Act.res.:** Map with accessions is absent. See attached screenshots.![SCR_0014](/uploads/2c5e0caa31a236a2386f287e41f5e7fe/SCR_0014.png)![SCR_0015](/uploads/46ec7ca008d7509dfa6a5727808b4a0c/SCR_0015.png)https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/106Add DOI field2017-09-19T13:31:08+02:00Matija ObrezaAdd DOI fieldThis is one of the subtasks for #56.
Add a **unique** DOI field (`doi varchar(255) null`) to the accession record. Accession historic should also have the field, but it should not have the unique constraint. Make sure database changes a...This is one of the subtasks for #56.
Add a **unique** DOI field (`doi varchar(255) null`) to the accession record. Accession historic should also have the field, but it should not have the unique constraint. Make sure database changes are registered in liquibase changelog.
Further:
1. Extend the `AccessionJSON` with the `doi` field so the field gets indexed.
1. Add display of DOI field to the accession details
1. Add display of DOI field to the accession explorer
1. Add DOI as filter (exact filter) to the accession filters2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/108DOI in export2017-09-20T20:33:14+02:00Matija ObrezaDOI in exportThis is one of the subtasks for #56. Depends on #106.
Include **doi** field in CSV and Excel exports.This is one of the subtasks for #56. Depends on #106.
Include **doi** field in CSV and Excel exports.2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/109DOI as accession URL2017-09-19T13:31:08+02:00Matija ObrezaDOI as accession URLThis is one of the subtasks for #56. Depends on #106.
For accessions with a DOI registered in Genesys, we will use the following URL template: `https://www.genesys-pgr.org/[DOI]` for example `https://www.genesys-pgr.org/10.18730/A3C9`. ...This is one of the subtasks for #56. Depends on #106.
For accessions with a DOI registered in Genesys, we will use the following URL template: `https://www.genesys-pgr.org/[DOI]` for example `https://www.genesys-pgr.org/10.18730/A3C9`. Every URL to an accession with DOI must use the DOI'zed URL.
DOI format regexp is `10\.[0-9]+/.+`.
# DOI Controller
Add a controller for DOI resolution at `/{doi:10\.[0-9]+/.+}`. The DOI can identify various objects in Genesys. It should check if an
accession with the DOI exists and display accession details if an accession has such DOI.
## Accession Controller
The current controller (for `/acn/id/[0-9]+`) must permanently redirect to the DOI'zed accession URL in Genesys if the accession record has the DOI assigned.
# DOI as URL
When the accession has DOI assigned, all links to accession details must point to the DOI'zed accession URL and not the `/acn/id/*`.
The URL is now *generated* in JSP directly, perhaps we should have a method to create the accession URL?2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/114Asciidoc missing images2017-09-19T13:31:08+02:00Matija ObrezaAsciidoc missing imageshttps://www.genesys-pgr.org/doc/0/basics is missing images (e.g. https://www.genesys-pgr.org/doc/0/images/wiews-archived.png)
These should be copied as part of the build process, but are not included on production/sandbox environment.https://www.genesys-pgr.org/doc/0/basics is missing images (e.g. https://www.genesys-pgr.org/doc/0/images/wiews-archived.png)
These should be copied as part of the build process, but are not included on production/sandbox environment.2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/115"About Genesys" drop-down menu is constantly opens when user navigate to any ...2017-09-19T13:31:08+02:00Aleksandr Kirichenko"About Genesys" drop-down menu is constantly opens when user navigate to any page from this menu.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "About Genesys" drop-down menu;
3. Select any page from the drop-down, "Contact Us" for example;
**It works only when page zoom = 100%!**
**Act.res.:** "About Ge...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "About Genesys" drop-down menu;
3. Select any page from the drop-down, "Contact Us" for example;
**It works only when page zoom = 100%!**
**Act.res.:** "About Genesys" drop-down menu is opened. See attached video[rec_010.avi](/uploads/28e452cadd4b4fca4804e74dd52fdd31/rec_010.avi)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/116When user goes to the next page, the page doesn't scroll up.2017-09-19T13:31:08+02:00Aleksandr KirichenkoWhen user goes to the next page, the page doesn't scroll up.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Scroll to the bottom of the page;
4. Click on the ">" next page button;
**Exp.res.:**Transfer to the next page is performed, the page is in t...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Scroll to the bottom of the page;
4. Click on the ">" next page button;
**Exp.res.:**Transfer to the next page is performed, the page is in the position starting from the top of the table of accessions.
**Act.res.:** Transfer to the next page is performed, page is not scrolled up. See attached video.[rec_011.avi](/uploads/9e6f3ff14c47d224db59474225535108/rec_011.avi)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/117Ability to save list of accessions without List title.2017-09-19T13:31:08+02:00Aleksandr KirichenkoAbility to save list of accessions without List title.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Mark check-boxes of some accessions;
4. Click "My List" menu item;
5. Navigate to "Accession List" tab;
6. Leave fields "List title", "List d...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Mark check-boxes of some accessions;
4. Click "My List" menu item;
5. Navigate to "Accession List" tab;
6. Leave fields "List title", "List description" blank;
7. Click "CREATE NEW LIST" button;
**Act.res.:** The list has been saved without List title and description. See attached screen.![SCR_0021](/uploads/4f1cd9c04c43b8029af4a1f2a0b2aeae/SCR_0021.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/118Ability to save a list with an existing title2017-09-19T13:31:08+02:00Aleksandr KirichenkoAbility to save a list with an existing title**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Mark check-boxes of some accessions;
4. Click "My List" menu item;
5. Navigate to "Accession List" tab;
6. Enter an existing Title list;
7. C...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click "Browse" menu item;
3. Mark check-boxes of some accessions;
4. Click "My List" menu item;
5. Navigate to "Accession List" tab;
6. Enter an existing Title list;
7. Click "CREATE NEW LIST" button;
**Act.res.:** List of accessions has been saved with an existing title.
![SCR_0022](/uploads/5c9ff4a6f876838359becbcfa96e394d/SCR_0022.png)2.1Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/119Ability to save map with an existing title.2017-09-19T13:31:08+02:00Aleksandr KirichenkoAbility to save map with an existing title.**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the map;
3. Click "Remember Map" button;
4. Enter an existing title;
5. Click Save button;
**Act.res.:** Map has been saved with an existing title. See attached...**Steps:**
1. Go to "https://sandbox.genesys-pgr.org/welcome";
2. Click on the map;
3. Click "Remember Map" button;
4. Enter an existing title;
5. Click Save button;
**Act.res.:** Map has been saved with an existing title. See attached screen.![SCR_0023](/uploads/bfac5fd34559f2b4c90392b668a32ff3/SCR_0023.png)2.1Maxym BorodenkoMaxym Borodenko