bbalet / jorani

Leave and Overtime Management System
http://jorani.org/
GNU Affero General Public License v3.0
389 stars 276 forks source link

the "detach employee" button doesn't work #406

Open hekhammassi opened 10 months ago

hekhammassi commented 10 months ago

Github issue tracker is used for bug only. For general questions and requests, please join the Google group

Don't hesitate to provide screenshots.

What is the version of Jorani?

latest version

Expected behavior

Delete the selected employee from the entity(organisation) when i press on "detach employee" button

Actual behavior

when i press "detach employee" button, the employee is not deleted and the button isn't clickable anymore. when i inspect the web console i get the following error message in the web browser dev tool console """ Empty string passed to getElementById(). 15 legacy.js:2:353490 Uncaught TypeError: oTable.rows(...).data()[0] is undefined

https://jorani.fondative.com/organization:371 dispatch https://jorani.fondative.com/assets/dist/legacy.js:2 handle https://jorani.fondative.com/assets/dist/legacy.js:2 [organization:371:52](https://jorani.fondative.com/organization) https://jorani.fondative.com/organization:371 dispatch https://jorani.fondative.com/assets/dist/legacy.js:2 handle https://jorani.fondative.com/assets/dist/legacy.js:2 """ ### Steps to reproduce the behavior 1 choose french language and connect 2 RH -> Organisation -> detacher un employe