macressler / alfresco-bulk-filesystem-import

Automatically exported from code.google.com/p/alfresco-bulk-filesystem-import
GNU Lesser General Public License v3.0
1 stars 0 forks source link

In-place imports write incorrect content URLs when configured contentstore has a trailing '/' character #150

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The bulk import tool always adds a '/' character to the end of the contentstore 
path during content URL construction, so if the configured contentstore already 
has a '/' character at the end, it winds up with two, which then prevents the 
"relativisation" of the filename from working properly.

The fix is to ensure the code is tolerant of both situations (i.e. contentstore 
configured with trailing '/' or not).  See AbstractBulkFilesystemImporter.java 
around line 731 for details.

Original issue reported on code.google.com by peter.mo...@alfresco.com on 11 Jun 2014 at 9:32

GoogleCodeExporter commented 9 years ago

Original comment by pmo...@gmail.com on 11 Jun 2014 at 9:33

GoogleCodeExporter commented 9 years ago

Original comment by pmo...@gmail.com on 11 Jun 2014 at 9:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 7e8ccb3a7769.

Original comment by pmo...@gmail.com on 11 Jun 2014 at 9:36

GoogleCodeExporter commented 9 years ago
Reopened - that still didn't fully fix the issue.

Original comment by pmo...@gmail.com on 13 Jun 2014 at 6:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision fcd91133c769.

Original comment by pmo...@gmail.com on 13 Jun 2014 at 7:06