Author's comments after G1->G2 owned always by administrator
Toño
Joined: 2003-10-06
Posts: 6
Posted: Thu, 2006-05-04 22:29
Following my solved "G1->G2 Missing albums to import" post, it appears that all comments from G1, after they are import into G2 are owned by admin instead of their original owners.
it's a known bug. we're busy, that's why it isn't fixed yet. i guess the fix wouldn't be that hard, but we'd have to update some old test date for our unit tests.
I've tried to apply the patch that you mentioned, but I have to patch by hand, because it doesn't patch automatically in version 2.1.1.
After that, I tries to import one album with comments, but it stop, when it encounter a photo with comments.
I'll try to look at the patch, but I'm not a good programmer, and I don't know how gallery was devolped.
Thanks
Antonio
unniwerz
Joined: 2006-02-01
Posts: 13
Posted: Sat, 2006-05-13 08:20
Yeah, I tried patch -p0 ConfirmImport.inc ConfirmImport.patch and it didn't work. I'm using Gallery 2.1.1.
Quote:
patching file ConfirmImport.inc
Hunk #1 FAILED at 1116.
Hunk #2 FAILED at 1144.
Hunk #3 FAILED at 1173.
3 out of 3 hunks FAILED -- saving rejects to file ConfirmImport.inc.rej
unniwerz
Joined: 2006-02-01
Posts: 13
Posted: Mon, 2006-05-15 16:13
I tried patching the 2.0.4 aswell, maybe the ConfirmImport is the same version in both, didn't check that.
But if so, may I ask for which version your patch is, valiant.
unniwerz
Joined: 2006-02-01
Posts: 13
Posted: Tue, 2006-05-16 13:20
When I checked the patch-file amd it seems like you are using another revision of ConfirmImport.inc (13607) while the one included in 2.1.1 is "1.134", so maybe there are some other changes aswell?
Posts: 32509
see:
http://sourceforge.net/tracker/index.php?func=detail&aid=1366600&group_id=7130&atid=107130
it's a known bug. we're busy, that's why it isn't fixed yet. i guess the fix wouldn't be that hard, but we'd have to update some old test date for our unit tests.
Posts: 6
Thanks for the info!!!
Antonio
Posts: 32509
you may want to give this a shot:
http://tools.gallery2.org/pastebin/317
apply with patch -p0
Posts: 6
Hi again,
I've tried to apply the patch that you mentioned, but I have to patch by hand, because it doesn't patch automatically in version 2.1.1.
After that, I tries to import one album with comments, but it stop, when it encounter a photo with comments.
I'll try to look at the patch, but I'm not a good programmer, and I don't know how gallery was devolped.
Thanks
Antonio
Posts: 13
Yeah, I tried patch -p0 ConfirmImport.inc ConfirmImport.patch and it didn't work. I'm using Gallery 2.1.1.
Posts: 13
I tried patching the 2.0.4 aswell, maybe the ConfirmImport is the same version in both, didn't check that.
But if so, may I ask for which version your patch is, valiant.
Posts: 13
When I checked the patch-file amd it seems like you are using another revision of ConfirmImport.inc (13607) while the one included in 2.1.1 is "1.134", so maybe there are some other changes aswell?