jonathanmccann/liferay-portal — pull request #487 by ssmith353 (2014-10-17 15:59:31+00:00)
Title: LPS-50275

Lets remove this metaDataType that is no longer permitted in versions past 6.1.

The autoGeneratedType is removed in the DDMXSDImpl.getJsonArray -

(jsonObject.put("autoGeneratedName", false);)

rather than being added. And is not necessary for the documentTypes in later versions. If you try to import content that contains the autoGeneratedType you receive this exception

"Error on line 4 of document : cvc-complex-type.3.2.2: Attribute 'autoGeneratedName' is not allowed to appear in element 'dynamic-element'. Nested exception: cvc-complex-type.3.2.2: Attribute 'autoGeneratedName' is not allowed to appear in element 'dynamic-element'."

Note: There is an issue with the verifyProcess in Trunk. Any content will fail validation if it has passed through the verifyProcess with or without this implemented.

Feel free to ask any questions.