https://bugzilla.wikimedia.org/show_bug.cgi?id=652





--- Comment #34 from minervino <marcusminerv...@searchtecnologia.com.br>  
2009-09-29 18:55:45 UTC ---
Well. It works. I put "fr", "de" and finally "pt-br" and now works.. Mistery..

I have found a error while the system tried to insert in table CATEGORY. The
"INSERT" comand tried to insert a register at the table without put a value to
column CAT_ID 

I create the follow triggere, and the error stops

CREATE OR REPLACE TRIGGER WIKI.TRG_CATEGORY 
BEFORE INSERT ON WIKI.CATEGORY
FOR EACH ROW 
   WHEN (NEW.CAT_ID IS NULL)
BEGIN
   SELECT CATEGORY_CAT_ID_VAL.NEXTVAL 
   INTO :NEW.CAT_ID 
   FROM DUAL; 
END;


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to