[Loris-dev] Candidate information front page trouble

Ganesh Chauhan (CBR) ganesh.chauhan at cbr.iisc.ac.in
Thu Jun 29 01:54:38 EDT 2017


Dear Greg, 

- I am currently using LORIS version 17.0.2. 
- My MYSQL version is "mysql Ver 14.14 Distrib 5.7.18" 
- I do not have any JAVA script error showing up on the front end 
- I do not understand what you meant by "branch you are on" 
- SQL commands used is as follows: 

INSERT INTO parameter_type_category (Name, Type) VALUES ('Candidate Parameters','Metavars'); 

INSERT INTO parameter_type (Name, Type, Description, SourceFrom, Queryable) VALUES 
('first_contact', "date", 'Date of first contact (likely by telephone)', 'parameter_candidate', 1); 

INSERT INTO parameter_type_category_rel (ParameterTypeID, ParameterTypeCategoryID) SELECT 
pt.ParameterTypeID, ptc.ParameterTypeCategoryID FROM parameter_type_category ptc, 
parameter_type pt WHERE ptc.Name='Candidate Parameters' AND pt.Name='first_contact'; 

INSERT INTO parameter_type (Name, Type, Description, SourceFrom, Queryable) VALUES 
('first_contact_response', "text", 'Response: first contact', 'parameter_candidate', 1); 

INSERT INTO parameter_type_category_rel (ParameterTypeID, ParameterTypeCategoryID) SELECT 
pt.ParameterTypeID, ptc.ParameterTypeCategoryID FROM parameter_type_category ptc, 
parameter_type pt WHERE ptc.Name='Candidate Parameters' AND pt.Name='first_contact_response'; 

Many thanks for your help. 

With best regards, 
Ganesh 

From: "Gregory Luneau" <gluneau.mcin at gmail.com> 
To: "Ganesh Chauhan, CBR" <ganesh.chauhan at cbr.iisc.ac.in> 
Cc: "loris-dev" <Loris-dev at bic.mni.mcgill.ca> 
Sent: Monday, June 26, 2017 5:57:58 PM 
Subject: Re: [Loris-dev] Candidate information front page trouble 

Hello Ganesh, can you please provide me with the version of Loris you are running, also the branch you are on. 
Can you also provide me with the SQL you used to insert the new fields in the candidate information? 

Any JavaScript errors in the console when on that page? 

Thank you, 
Greg 



On Fri, Jun 9, 2017 at 9:56 PM, Ganesh Chauhan (CBR) < [ mailto:ganesh.chauhan at cbr.iisc.ac.in | ganesh.chauhan at cbr.iisc.ac.in ] > wrote: 



Dear team Loris, 

I added additional fields to the "Candidate Information" following the instructions suggested on Loris Wiki ( [ https://github.com/aces/Loris/wiki/Candidate-Parameters | https://github.com/aces/Loris/wiki/Candidate-Parameters ] ). After the addition I have lost the field "Comment" from the front end which appears after " Reason for Caveat Emptor Flag * ". Even the " Reason for Caveat Emptor Flag * " & " Caveat Emptor Flag for Candidate * " are behaving badly. Only after I choose the Null option and then I choose the False option in " Caveat Emptor Flag for Candidate * " I am able to enter values to the new fields I have created and save them. 

Any suggestions what is happening or what tests I need to run to find the problem. The google drive link to screen shot of my front end is provided below. 
[ https://drive.google.com/open?id=0B17moRKGrNolc3d1Unc5RUVTY1k | https://drive.google.com/open?id=0B17moRKGrNolc3d1Unc5RUVTY1k ] 

Many thanks for your help. 

With best regards, 
Ganesh 


-- 
Ganesh Chauhan (PhD) 
Scientist 
Centre for Brain Research (CBR) 
Indian Institute of Science (IISc) 
Bengaluru, INDIA 
[ tel:+91%2080%202293%203009 | +91 80 2293 3009 ] 
[ https://www.cbr.iisc.ac.in/ | https://www.cbr.iisc.ac.in ] 


-- 
This message has been scanned for viruses and 
dangerous content by [ http://www.mailscanner.info/ | MailScanner ] , and is 
believed to be clean. 

_______________________________________________ 
Loris-dev mailing list 
[ mailto:Loris-dev at bic.mni.mcgill.ca | Loris-dev at bic.mni.mcgill.ca ] 
[ http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev | http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev ] 







-- 

Gregory Luneau 

McGill Centre for Integrative Neuroscience (MCIN), 
Ludmer Centre for Neuroinformatics and Mental Health, 
Montreal Neurological Institute (MNI), 
McGill University, Montreal, Canada 


-- 
Ganesh Chauhan (PhD) 
Scientist 
Centre for Brain Research (CBR) 
Indian Institute of Science (IISc) 
Bengaluru, INDIA 
+91 80 2293 3009 
https://www.cbr.iisc.ac.in 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20170629/afbb2640/attachment-0001.html>


More information about the Loris-dev mailing list