mylabstocks issueshttps://gitbio.ens-lyon.fr/LBMC/yvertlab/mylabstocks/-/issues2021-07-15T17:44:19+02:00https://gitbio.ens-lyon.fr/LBMC/yvertlab/mylabstocks/-/issues/136establish relationships in events' BREAD2021-07-15T17:44:19+02:00Gael Yvertestablish relationships in events' BREAD- Add relationship between events and data_types.
- Add a `item_id` column that will store the id of the data_type for which the event occurred.
- Propose event types directly from DropDown menu (options). We don't need the event_types t...- Add relationship between events and data_types.
- Add a `item_id` column that will store the id of the data_type for which the event occurred.
- Propose event types directly from DropDown menu (options). We don't need the event_types table.
- Offer an upgrade procedure to re-import the data stored in pipet_events into the events table with links to pipets. Indeed, after upgrading from v1 to v2.0.1, what was in pipet_histories is now in table pipet_events. We must store this as `events` and then drop the pipet_events table.https://gitbio.ens-lyon.fr/LBMC/yvertlab/mylabstocks/-/issues/108Absurd path display in header of Blast view2021-04-19T11:33:12+02:00Gael YvertAbsurd path display in header of Blast viewStrange links and paths are displayed at the top of the blast view (in blue, after Dashboard):
![Screenshot_from_2021-04-19_11-30-42](/uploads/b30c83b39c13cb8196866632e3afaefb/Screenshot_from_2021-04-19_11-30-42.png)Strange links and paths are displayed at the top of the blast view (in blue, after Dashboard):
![Screenshot_from_2021-04-19_11-30-42](/uploads/b30c83b39c13cb8196866632e3afaefb/Screenshot_from_2021-04-19_11-30-42.png)https://gitbio.ens-lyon.fr/LBMC/yvertlab/mylabstocks/-/issues/67do not display the duplicate button in Users browser, nor in Roles2021-06-18T09:13:00+02:00Gael Yvertdo not display the duplicate button in Users browser, nor in RolesBecause we do NOT want to duplicate users (and therefore passwords, roles....) and because Method TCG\Voyager\Http\Controllers\VoyagerUserController::duplicate does not exist.Because we do NOT want to duplicate users (and therefore passwords, roles....) and because Method TCG\Voyager\Http\Controllers\VoyagerUserController::duplicate does not exist.Upgrade voyager to v2.0https://gitbio.ens-lyon.fr/LBMC/yvertlab/mylabstocks/-/issues/61Cannot track roles functionality table2021-06-18T15:06:26+02:00Gael YvertCannot track roles functionality tableWhen retsoring the roles tables from seeder, I get:
```
SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`labstocks_db`.`users`, CONSTRAINT `users_role_id_foreign...When retsoring the roles tables from seeder, I get:
```
SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`labstocks_db`.`users`, CONSTRAINT `users_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`)) (SQL: delete from `roles`)
```
We need to find a way to track the content of the roles table despite the role_id ./. users dependency.Upgrade voyager to v2.0