I have created new repo in the WebUI

spaceschema=# select * from rhncontentsource ;
 id  | org_id | type_id |  source_url  | label |            created            
|           modified            
-----+--------+---------+--------------+-------+-------------------------------+-------------------------------
 500 |      1 |     500 | http://jezek | jezek | 2013-01-17 13:38:30.632011-05 
| 2013-01-17 13:38:30.632011-05
(1 row)

and then I've updated the URL in the WebUI

spaceschema=# select * from rhncontentsource ;
 id  | org_id | type_id |  source_url   | label |            created            
|           modified            
-----+--------+---------+---------------+-------+-------------------------------+-------------------------------
 500 |      1 |     500 | http://jezek/ | jezek | 2013-01-17 13:38:30.632011-05 
| 2013-01-17 13:38:30.632011-05
(1 row)

The modified column did not get modified.

The definition of that table is

        created         timestamp with local time zone 
default(current_timestamp) NOT NULL,
        modified        timestamp with local time zone 
default(current_timestamp) NOT NULL

and there are no triggers which would force the modified to now().
I believe this is not the only table having the same issue.

If the table is only modified from Java via hibernate, we might
be able to address the issue there. On the other hand, we better
have a solution which works beyond hibernate.

Is this an issue we want to address, somehow?

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to