marcellustavares/liferay-portal — pull request #249 by moltam89 (2014-05-30 12:20:00+00:00)
Title: LPS-46799 StructureXsdException occurs after upgrading to 6.2 during the export/import process

Hi Marcellus,

after upgrading from 6.1 to 6.2 some of the auto generated DDM structures became invalid.
Exporting/importing these structures would fail, as the validation throws StructureXsdException while the portal tries to create the new sturctures.

Here is a piece of the Data Definition called "Events" on 6.1.

```

*

{"folderId":0,"folderName":"Documents Home"}

Attachment

attachment

false

true

Upload documents no larger than 3,000k.

ddm-fileupload

```
After the upgrade process have finished, it looks like the following:
```

{"folderId":0,"folderName":"Documents Home"}

Attachment

attachment

Upload documents no larger than 3,000k.

ddm-fileupload

```

However, some invalid attributes still remain in the xml: "folder", "name", "type"

Tamás