You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by "seba.wagner@gmail.com" <se...@gmail.com> on 2013/02/11 23:02:08 UTC

Minor bug in backup import in fileexploreritem

I found a minor bug in the import of backups:

FileExplorerItems are assigned to the wrong room_id.

It does not matter in that case as those files have been assigned to the
private section of a user (and the user was converted to the new user_id
correctly).

It can be reproduced when you import the backup:
backup_v_2_0_0_r1361497.zip

and then check the table fileexploreritem.
The imported items are all assigned to the room_id 7. But the room_id 7
existed already before the import. So this id is not correctly converted to
a the room_id of the imported room.

Sebastian
-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Minor bug in backup import in fileexploreritem

Posted by Maxim Solodovnik <so...@gmail.com>.
Fixed: Committed revision 1445102.


On Tue, Feb 12, 2013 at 7:34 AM, Maxim Solodovnik <so...@gmail.com>wrote:

> Thanks!
> I'll take care of it
>
>
> On Tue, Feb 12, 2013 at 5:02 AM, seba.wagner@gmail.com <
> seba.wagner@gmail.com> wrote:
>
>> I found a minor bug in the import of backups:
>>
>> FileExplorerItems are assigned to the wrong room_id.
>>
>> It does not matter in that case as those files have been assigned to the
>> private section of a user (and the user was converted to the new user_id
>> correctly).
>>
>> It can be reproduced when you import the backup:
>> backup_v_2_0_0_r1361497.zip
>>
>> and then check the table fileexploreritem.
>> The imported items are all assigned to the room_id 7. But the room_id 7
>> existed already before the import. So this id is not correctly converted
>> to
>> a the room_id of the imported room.
>>
>> Sebastian
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: Minor bug in backup import in fileexploreritem

Posted by Maxim Solodovnik <so...@gmail.com>.
Thanks!
I'll take care of it


On Tue, Feb 12, 2013 at 5:02 AM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:

> I found a minor bug in the import of backups:
>
> FileExplorerItems are assigned to the wrong room_id.
>
> It does not matter in that case as those files have been assigned to the
> private section of a user (and the user was converted to the new user_id
> correctly).
>
> It can be reproduced when you import the backup:
> backup_v_2_0_0_r1361497.zip
>
> and then check the table fileexploreritem.
> The imported items are all assigned to the room_id 7. But the room_id 7
> existed already before the import. So this id is not correctly converted to
> a the room_id of the imported room.
>
> Sebastian
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax