Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-232

Rooms are imported with invalid room types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.0 Apache Incubator Release
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            solomax Maxim Solodovnik
            solomax Maxim Solodovnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: