mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ETHREEOH-2126 - WCM meta data extraction does not extract title when form is created
- metadata extractor was not firing - titled aspect was applied after extraction thereby overwriting extracted value. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17034 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -386,10 +386,16 @@ public class AVMServiceImpl implements AVMService
|
||||
*/
|
||||
public void createFile(String path, String name, InputStream in, List<QName> aspects, Map<QName, PropertyValue> properties)
|
||||
{
|
||||
if (path == null || name == null || in == null || !FileNameValidator.isValid(name))
|
||||
if (path == null || name == null || in == null)
|
||||
{
|
||||
throw new AVMBadArgumentException("Illegal argument.");
|
||||
}
|
||||
|
||||
if(!FileNameValidator.isValid(name))
|
||||
{
|
||||
throw new AVMBadArgumentException("Illegal argument, name:" + name);
|
||||
}
|
||||
|
||||
// Save the contents to temp space.
|
||||
File temp;
|
||||
try
|
||||
|
Reference in New Issue
Block a user