Question: Validator tag not work with /v15.07
0
gravatar for Patrick.Guterl
3.3 years ago by
European Union
Patrick.Guterl • 0 wrote:

Hi,

Since  the update to the version galaxy version15.07,

the tag validator doen't not work

the line below

<validator type="regex" message="Error">^^[,0-9]+$ </validator>

work with the previous version

since the lastet version it's failed

 

Thank's

ADD COMMENT • link • modified 3.3 years ago • written 3.3 years ago by Patrick.Guterl • 0
0
gravatar for Jennifer Hillman Jackson
3.3 years ago by
United States
Jennifer Hillman Jackson ♦ 25k wrote:

Hello,

This changeset describes recent modifications and hopefully will help to resolve your issue:
https://github.com/galaxyproject/galaxy/commits/dev/lib/galaxy/tools/parameters/validation.py

Best, Jen, Galaxy team

ADD COMMENT • link written 3.3 years ago by Jennifer Hillman Jackson ♦ 25k
0
gravatar for Martin Čech
3.3 years ago by
Martin Čech ♦♦ 4.9k
United States
Martin Čech ♦♦ 4.9k wrote:

I created an issue for this here: https://github.com/galaxyproject/galaxy/issues/645
thank you for reporting

ADD COMMENT • link written 3.3 years ago by Martin Čech ♦♦ 4.9k
0
gravatar for Patrick.Guterl
3.3 years ago by
European Union
Patrick.Guterl • 0 wrote:

Hi,

I have change for a test  the public  tool  galaxy-dist/tools/filters/fixedValueColumn.xml

the line

<param name="exp" size="20" type="text" value="1" label="Add this value"/>

is changed to

<param name="exp" size="20" type="text" value="1" label="My Add this value">
<validator type="regex" message="Not gonna happen">^^[,0-9]+$</validator>
  </param>
    <conditional name="taxonomy">
        <param name="taxo" type="select" label="Taxonomy" help="Select the taxonomies " >
           <option value="9606">Homo Sapiens</option>
           <option value="Other">Other</option>
   </param>
<when value="Other">
<repeat name="taxoId" title="taxonomy Id ">
<param type="text" name="taxo_id" label="Taxonomy ID" >
<validator type="regex" message="Not gonna happen">^^[,0-9]+$</validator>
</param>
</repeat>
</when>
</conditional>

with release 14-10 it's work fine

with release 15.07 the validator tag does nothing

in any field exp and taxo_id the error msg from validator are displayed

Patrick

ADD COMMENT • link written 3.3 years ago by Patrick.Guterl • 0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 182 users visited in the last hour