#3553 X_????.save() !!!!!

R2.5.2
closed-works-for-me
Jorg Janke
7
2006-03-31
2006-03-23
wissem sfar
No

Hi Mr Jorg

My probleme consists in updating data in table :
my table is TableName
my class model is X_TableName

I instanciate an object "OBJECT" from this class
I make my modification on OBJECT :
OBJECT.setISLAUNCHED(true);
then I make the update
OBJECT.save();

but the date is not updated in the database !!

Please can you help me ??

Discussion

1 2 > >> (Page 1 of 2)
  • wissem sfar
    wissem sfar
    2006-03-23

    • assigned_to: nobody --> jjanke
    • priority: 5 --> 7
     
  • Jorg Janke
    Jorg Janke
    2006-03-24

    • status: open --> pending
     
  • Jorg Janke
    Jorg Janke
    2006-03-24

    Logged In: YES
    user_id=87038

    - I assume the class is generated by GenrateModel

    - Re-create system and see if you can modify & save via the
    user interface (and that the class is used (otherwise you
    get a warning).

    - Then try it via API and if it is not working, use a
    debugger.

     
  • Jorg Janke
    Jorg Janke
    2006-03-24

    Logged In: YES
    user_id=87038

    *** Status set to PENDING *** If the issue solved, please CLOSE
    this request - otherwise set the status back to OPEN (we only
    check OPEN items). If there is no reaction within a week, the
    system will automatically CLOSE it. To speed up response time,
    you may want to consider a support agreement.
    ***

     
  • wissem sfar
    wissem sfar
    2006-03-24

    • status: pending --> open
     
  • wissem sfar
    wissem sfar
    2006-03-24

    Logged In: YES
    user_id=1271366

    Yes the class is genetrated by GenerateModel.
    And it's used for the update ... I get no warning telling
    that no PO is found for the table.

    The method save() returns 'true' but the data doesn't change
    physiquely in the DB.

     
  • Jorg Janke
    Jorg Janke
    2006-03-25

    • status: open --> pending-works-for-me
     
  • Jorg Janke
    Jorg Janke
    2006-03-25

    Logged In: YES
    user_id=87038

    Well, if that would be a problem, the entire apps would not
    work. So, use a debugger to find out :-/
    There are tons of examples - a simple see in project
    extensions.

     
  • wissem sfar
    wissem sfar
    2006-03-27

    • status: pending-works-for-me --> open-works-for-me
     
  • wissem sfar
    wissem sfar
    2006-03-27

    Logged In: YES
    user_id=1271366

    Please show me URL to debugger. I don't know where is it.
    Thanks in advance.

     
1 2 > >> (Page 1 of 2)