Fix installation : demande de test

Les sujets de cette catégorie concernent le développement du logiciel MedshakeEHR.
marsante
Messages : 175
Inscription : 25 juil. 2020, 18:42

Re: Fix installation : demande de test

Message non lu par marsante »

J'ajoute un code 500 msehr.local/patient/ajax/saveCsForm/ignoreEmpty/ en plus du message. en cliquant sur le bouton valider.

la requête est bonne :

Code : Tout sélectionner

XHRPOSThttps://msehr.local/patient/ajax/saveCsForm/ignoreEmpty/
[HTTP/1.0 500 Internal Server Error 55ms]


formIN	"osteoConsult"
patientID	"3"
parentID	"0"
csID	"403"
mode	"create"
p_osteoAnamnese	"Test"
p_osteoTests	"test"
p_osteoCuneiforme_I_Gch	""
p_osteoCuneiforme_I_Drt	""
p_osteoCuneiforme_II_Gch	""
p_osteoCuneiforme_II_Drt	""
p_osteoCuneiforme_III_Gch	""
p_osteoCuneiforme_III_Drt	""
p_osteoCalcaneum_Gch	""
p_osteoCalcaneum_Drt	""
p_osteoCapitatum_Gch	""
p_osteoCapitatum_Drt	""
p_osteoCuboide_Gch	""
p_osteoCuboide_Drt	""
p_osteoHamatum_Gch	""
p_osteoHamatum_Drt	""
p_osteoIlium_Gch	""
p_osteoIlium_Drt	""
p_osteoLunatum_Gch	""
p_osteoLunatum_Drt	""
p_osteoMetacarpe_I_Gch	""
p_osteoMetacarpe_I_Drt	""
p_osteoMetacarpe_II_Gch	""
p_osteoMetacarpe_II_Drt	""
p_osteoMetacarpe_III_Gch	""
p_osteoMetacarpe_III_Drt	""
p_osteoMetacarpe_IV_Gch	""
p_osteoMetacarpe_IV_Drt	""
p_osteoMetacarpe_V_Gch	""
p_osteoMetacarpe_V_Drt	""
p_osteoNaviculaire_Gch	""
p_osteoNaviculaire_Drt	""
p_osteoP1_I_Gch	""
p_osteoP1_I_Drt	""
p_osteoP1_II_Gch	""
p_osteoP1_II_Drt	""
p_osteoP1_III_Gch	""
p_osteoP1_III_Drt	""
p_osteoP1_IV_Gch	""
p_osteoP1_IV_Drt	""
p_osteoP1_V_Gch	""
p_osteoP1_V_Drt	""
p_osteoP2_I_Gch	""
p_osteoP2_I_Drt	""
p_osteoP2_II_Gch	""
p_osteoP2_II_Drt	""
p_osteoP2_III_Gch	""
p_osteoP2_III_Drt	""
p_osteoP2_IV_Gch	""
p_osteoP2_IV_Drt	""
p_osteoP2_V_Gch	""
p_osteoP2_V_Drt	""
p_osteoP3_II_Gch	""
p_osteoP3_II_Drt	""
p_osteoP3_III_Gch	""
p_osteoP3_III_Drt	""
p_osteoP3_IV_Gch	""
p_osteoP3_IV_Drt	""
p_osteoP3_V_Gch	""
p_osteoP3_V_Drt	""
p_osteo_p1_I_Gch	""
p_osteo_p1_I_Drt	""
p_osteo_p1_II_Gch	""
p_osteo_p1_II_Drt	""
p_osteo_p1_III_Gch	""
p_osteo_p1_III_Drt	""
p_osteo_p1_IV_Gch	""
p_osteo_p1_IV_Drt	""
p_osteo_p1_V_Gch	""
p_osteo_p1_V_Drt	""
p_osteo_p2_I_Gch	""
p_osteo_p2_I_Drt	""
p_osteo_p2_II_Gch	""
p_osteo_p2_II_Drt	""
p_osteo_p2_III_Gch	""
p_osteo_p2_III_Drt	""
p_osteo_p2_IV_Gch	""
p_osteo_p2_IV_Drt	""
p_osteo_p2_V_Gch	""
p_osteo_p2_V_Drt	""
p_osteoPatella_Gch	""
p_osteoPatella_Drt	""
p_osteoPisiforme_Gch	""
p_osteoPisiforme_Drt	""
p_osteoSacrum	""
p_osteoScaphoide_Gch	""
p_osteoScaphoide_Drt	""
p_osteoScapula_Gch	"true"
p_osteoScapula_Drt	""
p_osteoTalus_Gch	""
p_osteoTalus_Drt	""
p_osteoTibia_Gch	""
p_osteoTibia_Drt	""
p_osteoTrapezium_Gch	""
p_osteoTrapezium_Drt	""
p_osteoTrapezoide_Gch	""
p_osteoTrapezoide_Drt	""
p_osteoTriquetrum_Gch	""
p_osteoTriquetrum_Drt	""
p_osteoMetatarse_I_Gch	""
p_osteoMetatarse_I_Drt	""
p_osteoMetatarse_II_Gch	""
p_osteoMetatarse_II_Drt	""
p_osteoMetatarse_III_Gch	""
p_osteoMetatarse_III_Drt	""
p_osteoMetatarse_IV_Gch	""
p_osteoMetatarse_IV_Drt	""
p_osteoMetatarse_V_Gch	""
p_osteoMetatarse_V_Drt	""
p_osteoMetatarso_phalangienne_Gch	""
p_osteoMetatarso_phalangienne_Drt	""
p_osteoTibio_fibulaire_distale_Gch	""
p_osteoTibio_fibulaire_distale_Drt	""
p_osteoATM_Gch	""
p_osteoATM_Drt	""
p_osteoSterno_claviculaire_Gch	""
p_osteoSterno_claviculaire_Drt	""
p_osteoAcromio_claviculaire_Gch	""
p_osteoAcromio_claviculaire_Drt	""
p_osteoGleno_humerale_Gch	""
p_osteoGleno_humerale_Drt	""
p_osteoTete_radiale_Gch	""
p_osteoTete_radiale_Drt	""
p_osteoUlna_proximal_Gch	""
p_osteoUlna_proximal_Drt	"Ant"
p_osteoFemoro_acetabulaire_Gch	""
p_osteoFemoro_acetabulaire_Drt	""
p_osteoTibio_fibulaire_prox_Gch	""
p_osteoTibio_fibulaire_prox_Drt	""
p_osteoSymphyse	""
p_osteoStyloide_radiale_Gch	""
p_osteoStyloide_radiale_Drt	""
p_osteoUlna_distal_Gch	""
p_osteoUlna_distal_Drt	""
p_osteoC0	""
p_osteoC1	""
p_osteoC2	""
p_osteoC3	""
p_osteoC4	""
p_osteoC5	""
p_osteoC6	""
p_osteoC7	""
p_osteoT1	""
p_osteoT2	""
p_osteoT3	""
p_osteoT4	""
p_osteoT5	""
p_osteoT6	""
p_osteoT7	""
p_osteoT8	""
p_osteoT9	""
p_osteoT10	""
p_osteoT11	""
p_osteoT12	""
p_osteoK1_Gch	""
p_osteoK1_Drt	""
p_osteoK2_Gch	""
p_osteoK2_Drt	""
p_osteoK3_Gch	""
p_osteoK3_Drt	""
p_osteoK4_Gch	""
p_osteoK4_Drt	""
p_osteoK5_Gch	""
p_osteoK5_Drt	""
p_osteoK6_Gch	""
p_osteoK6_Drt	""
p_osteoK7_Gch	""
p_osteoK7_Drt	""
p_osteoK8_Gch	""
p_osteoK8_Drt	""
p_osteoK9_Gch	""
p_osteoK9_Drt	""
p_osteoK10_Gch	""
p_osteoK10_Drt	""
p_osteoK11_Gch	""
p_osteoK11_Drt	""
p_osteoK12_Gch	""
p_osteoK12_Drt	""
p_osteoL1	""
p_osteoL2	""
p_osteoL3	""
p_osteoL4	""
p_osteoL5	""
p_osteoCoccyx	""
p_osteoObservation	""
p_osteoDiagnostic	"Test"
p_osteoTraitement	"test"
p_osteoNotes	"test"

Je ne sais pas si la trace de la pile peut aider :

Code : Tout sélectionner

send
https://msehr.local/thirdparty/jquery/jquery/dist/jquery.min.js:2:81476
ajax
https://msehr.local/thirdparty/jquery/jquery/dist/jquery.min.js:2:77295
<anonyme>
https://msehr.local/js/patient.js:781:7
dispatch
https://msehr.local/thirdparty/jquery/jquery/dist/jquery.min.js:2:42571
add/v.handle
https://msehr.local/thirdparty/jquery/jquery/dist/jquery.min.js:2:40572
Avatar de l’utilisateur
Bertrand
Messages : 177
Inscription : 21 juil. 2020, 18:08
Localisation : Dans le grand bain
Contact :

Re: Fix installation : demande de test

Message non lu par Bertrand »

C'est quoi l’enregistrement d'un dossier ?
Je regarde le module ostéo ce soir.

J'ai fixé compta, visiblement les évolutions de mysql/mariadb ne sont pas anodines non plus. Il y avait des order by restés implicites ... et ce n'est pas bon du tout ...

B.

MedShakeEHR : Le Logiciel Médical Modulaire Libre
http://www.medshake.app/

MedShake : communauté médicale bien fraîche (et un peu secouée) !
https://www.medshake.net/

marsante
Messages : 175
Inscription : 25 juil. 2020, 18:42

Re: Fix installation : demande de test

Message non lu par marsante »

En étant utilisateur du module ostéo, on ouvre le dossier patient, puis on clique sur Dossier > Nouvelle consultation, puis Valider

Avatar de l’utilisateur
Bertrand
Messages : 177
Inscription : 21 juil. 2020, 18:08
Localisation : Dans le grand bain
Contact :

Re: Fix installation : demande de test

Message non lu par Bertrand »

Ok merci ! Je regarde.

B.

MedShakeEHR : Le Logiciel Médical Modulaire Libre
http://www.medshake.app/

MedShake : communauté médicale bien fraîche (et un peu secouée) !
https://www.medshake.net/

Avatar de l’utilisateur
Bertrand
Messages : 177
Inscription : 21 juil. 2020, 18:08
Localisation : Dans le grand bain
Contact :

Re: Fix installation : demande de test

Message non lu par Bertrand »

C'est fixé.

B.

MedShakeEHR : Le Logiciel Médical Modulaire Libre
http://www.medshake.app/

MedShake : communauté médicale bien fraîche (et un peu secouée) !
https://www.medshake.net/

marsante
Messages : 175
Inscription : 25 juil. 2020, 18:42

Re: Fix installation : demande de test

Message non lu par marsante »

Testé et approuvé merci beaucoup !

marsante
Messages : 175
Inscription : 25 juil. 2020, 18:42

Re: Fix installation : demande de test

Message non lu par marsante »

Le retour du favicon au passage, je ne l'avais jamais connu, inutile donc indispensable :lol:

marsante
Messages : 175
Inscription : 25 juil. 2020, 18:42

Re: Fix installation : demande de test

Message non lu par marsante »

En parlant des paquets composer de public_html, j'avais trouvé un bug très mineur dans la compta. Quand on sélectionne cette année ou impayé de l'année ça prend 2021-2022. Je n'ai pas trouvé en lisant les changelogs si c'était un bug de fullcalendar ou d'implémentation dans medshake. J'avais essayé de bidouiller dans medshake au moment de mon commit sans succès, mais n'avait pas osé / pas compris comment "composer" du js.

Edit : je précise que c'était avant le passage à php8

Avatar de l’utilisateur
Bertrand
Messages : 177
Inscription : 21 juil. 2020, 18:08
Localisation : Dans le grand bain
Contact :

Re: Fix installation : demande de test

Message non lu par Bertrand »

C'est fixé, merci !
Rien à voir avec fullcalendar qui est le composant pour agenda. Ici il s'agissait de l'utilisation de la librairie moment (dépréciée d'ailleurs) de manipulation des dates.
Je ne sais pas pourquoi mais les années étaient codées "gggg" plutôt que "YYYY" (la lecture de la doc ne m'éclaire pas bcp sur la différence et le pourquoi ... a priori gggg si j'ai bien compris était pour tenir compte des variables locales).
Bref, c'est fixé !

B.

MedShakeEHR : Le Logiciel Médical Modulaire Libre
http://www.medshake.app/

MedShake : communauté médicale bien fraîche (et un peu secouée) !
https://www.medshake.net/

Répondre