I have a big problem with Nadmin and Midgard.

When I upload a picture, logged in Sitegroup 8, the upload get well and the
picture stay on the server but I get a broken link in the preview.
Looking for this in the staging database, I become this for my picture :

mysql> select * FROM blobs WHERE ID=619;
+-----+--------+-----+-------+-----------------+-----------------+----------
----------------------------+-----------+-----------+--------+--------------
-------+
| id  | ptable | pid | score | name            | title           | location
| mimetype  | sitegroup | author | created             |
+-----+--------+-----+-------+-----------------+-----------------+----------
----------------------------+-----------+-----------+--------+--------------
-------+
| 619 | style  |  94 |     0 | logoMenu100.gif | logoMenu100.gif |
6/6/f377d082ba9a0b1343a16b6f3e2b65f3 | image/gif |         8 |     20 |
2001-12-07 12:38:44 |
+-----+--------+-----+-------+-----------------+-----------------+----------
----------------------------+-----------+-----------+--------+--------------
-------+
1 row in set (0.01 sec)

And in the repligard table, I get 6 different guid for the same picture.
Only the first one is relevant for Midgard, but he get a false sitegroup id
(5 statt 8).
Have somebody had the same problem ?

We use Midgard 1.4.1 with Nadmin 1.4.1
Thanks
Cedric

mysql> SELECT * FROM repligard WHERE 1 AND id = 619 AND realm LIKE 'blobs';
+-----+----------------+----------------+-------+---------------------------
-------+--------+-----------+
| id  | changed        | updated        | realm | guid
| action | sitegroup |
+-----+----------------+----------------+-------+---------------------------
-------+--------+-----------+
| 619 | 20011207123851 | 20011207120745 | blobs |
91176a0401e68ed13b9ebc93f273543a | update |         5 |
| 619 | 20011207123851 | 20011207120745 | blobs |
5e7d2d044dd81b49eef530ff3b7db531 | update |         5 |
| 619 | 20011207123851 | 20011207120745 | blobs |
f4a30fb328f93e1c568f6cb2d382175d | update |         5 |
| 619 | 20011207123851 | 20011207120745 | blobs |
1c91e057eda8a4383c5e91b83046faac | update |         8 |
| 619 | 20011207123851 | 20011207120745 | blobs |
4e5c5231e354862cae0d03408fe51ac9 | update |         8 |
| 619 | 20011207123851 | 00000000000000 | blobs |
6d692a1bc0dd88ee81dfd202c17819d7 | update |         8 |
+-----+----------------+----------------+-------+---------------------------
-------+--------+-----------+
6 rows in set (0.01 sec)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to