Projet

Général

Profil

Actions

Bug #8485

fermé

Impossible d'ajouter un enregistrement avec champ auto incrémenté

Ajouté par Marc Avenel il y a plus de 7 ans. Mis à jour il y a environ 7 ans.

Statut:
Closed
Priorité:
Urgent
Assigné à:
Début:
13/01/2017
Echéance:
% réalisé:

100%

Temps estimé:
Navigateur:
Tous
Votre version de Silverpeas:
5.15.5
Système d'exploitation:
Votre base de données:
Toutes
Livraison en TEST:
Livraison en PROD:

Description

Nous avons une table:
CREATE TABLE mgic_hr_category
(
id integer NOT NULL DEFAULT nextval('mgic_hr_category_seq'::regclass),
labelfr character varying(128),
labelen character varying(128),
status integer,
comments character varying(256),
type integer,
CONSTRAINT prk_constraint_mgic_category PRIMARY Key(id)

Séquence :
CREATE SEQUENCE mgic_hr_category_seq
INCREMENT 1
MINVALUE 1
MAXVALUE 2147483648 START 39
CACHE 1;

A la validation nous avons l'erreur suivante :
java.lang.NumberFormatException: For input string:

Voir les copies écran


Fichiers

Category-Saisie.PNG (5,97 ko) Category-Saisie.PNG Marc Avenel, 13/01/2017 12:06
Category-Erreur2.PNG (4,59 ko) Category-Erreur2.PNG Marc Avenel, 13/01/2017 12:07
Category-Erreur1.PNG (4,9 ko) Category-Erreur1.PNG Marc Avenel, 13/01/2017 12:07
Actions

Formats disponibles : Atom PDF