Menu

#5 Use of "textfield" component for integers impossible

open
nobody
None
5
2012-03-19
2011-06-30
Elie
No

A query using the "textfield" form component with an integer value leads to a client error and the log indicates :

sunum_lev1 like '114576650' ORDER BY recnum LIMIT 0 OFFSET 0
30 juin 2011 14:22:17 fr.cnes.sitools.datasource.jdbc.business.SitoolsDataSource limitedQuery
GRAVE: null
org.postgresql.util.PSQLException: ERREUR: l'opérateur n'existe pas : bigint ~~ unknown

The objective in this case was to make a query on an long integer value but no form component exists for this...

Discussion

  • Malapert

    Malapert - 2011-07-05
    • milestone: 2028138 -->
     
  • Malapert

    Malapert - 2011-07-05

    We will develop a numericField

     
  • Malapert

    Malapert - 2011-07-05
    • milestone: --> 2064859
     
  • SITools2

    SITools2 - 2011-09-23

    Elie,

    Could you implement it yourself ? You should be able to do it with component plugin ? If you have any problem in the implementation, let us know on the maling list

    J-Christophe

     
  • SITools2

    SITools2 - 2011-09-26

    Hi Elie,

    There is the NumberField component in 0.9M5. This component uses a equal operator.. Should I consider that this feature is done ?

     
  • SITools2

    SITools2 - 2012-03-19
    • milestone: 2064859 --> Not foreseen for the moment
     

Log in to post a comment.