You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Maxim Solodovnik (JIRA)" <ji...@apache.org> on 2012/04/26 10:24:12 UTC

[jira] [Resolved] (OPENMEETINGS-232) Rooms are imported with invalid room types

     [ https://issues.apache.org/jira/browse/OPENMEETINGS-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Solodovnik resolved OPENMEETINGS-232.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0 Apache Incubator Release
    
> Rooms are imported with invalid room types
> ------------------------------------------
>
>                 Key: OPENMEETINGS-232
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-232
>             Project: Openmeetings
>          Issue Type: Bug
>    Affects Versions: 2.0 Apache Incubator Release
>            Reporter: Maxim Solodovnik
>            Assignee: Maxim Solodovnik
>            Priority: Blocker
>             Fix For: 2.0 Apache Incubator Release
>
>
> since room type "audience (with id 2)" is removed we need mechanism of mapping room types.
> Steps:
> 1) OM prior to 2.0 is backed up
> 2) OM 2.0 is unpacked
> 3) data gets imported
> 4) rooms get invalid room types
> Room export xml has RoomTypeId 
> room types 2 and 5 were removed.
> The only option I see is to add 
> <version value="2.0"> to the xml
> so xml will look like follows:
> <root>
>   <rooms>
>   <version value="2.0">
>     <room>
>          ......
>     </room>
>     <room>
>          ......
>     </room>
>     <room>
>          ......
>     </room>
>   </rooms>
> </root>
> this will help us to see if this node is missing or version is less than 2.0 we will map all 5 types if it is 2.0 we will map 3 types only

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira