[ALF-525] IMAP - attached file with an invalid filename causes an integrity violation Created: 08-Jul-09  Updated: 27-May-10  Resolved: 25-May-10

Status: Closed
Project: Alfresco
Component/s: IMAP
Affects Version/s: 3.2 Enterprise
Fix Version/s: 3.3 Enterprise

Type: Bug Priority: Major
Reporter: Michael Harlaut [X] (Inactive) Assignee: Closed Bugs (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

v3.2.0 (2039) - Thunderbird 2.0 - Win XP


Resource:
External
Date of First Response:

 Description   

Copying an email to IMAP, when it includes an attached file with an invalid filename (from the content model point of view) throws a 'integrity violation' error.

User:admin ERROR [node.integrity.IntegrityChecker] Found 1 integrity violations:
Invalid property value:
Node: workspace://SpacesStore/f5887623-8916-4909-b825-842a80ba8f17
Type:

{http://www.alfresco.org/model/content/1.0}

content
Property:

{http://www.alfresco.org/model/content/1.0}

name
Constraint: 06080005 Value 'Analytics_13 - www.domain.com/fr_20090622-20090628_(www.domain.com_stats).pdf' is not valid as a file name.
This property must be a valid file name.

Uploading the same file using Explorer works



 Comments   
Comment by Mark Rogers [X] (Inactive) [ 10-Jul-09 ]

We are reworking the imap property extraction.

Comment by mkononovich [ 15-Jul-09 ]

We can't reproduce it. Could you please send us the file that cause the error? Or please send us the e-mail message with such attachment in EML (rfc822) format, i.e. message.eml.

Comment by Mark Rogers [X] (Inactive) [ 25-May-10 ]

I've also tested with a badly named attachment - works fine.

Generated at Sat Mar 06 23:17:27 GMT 2021 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.