Comments (10)
I wasn't able to reproduce this issue with v1.3.2, and the test data has
included a variety of version-related tests for quite a while [1], so I suspect
I'd see the same behaviour on earlier versions too.
Are you able to provide a ZIP with the exact files you're importing?
[1]
https://code.google.com/p/alfresco-bulk-filesystem-import/source/browse/?name=4x
#hg%2Fsrc%2Ftest%2Fdata%2FSinglePassTests%2FVersionTests
Original comment by [email protected]
on 11 Jun 2014 at 10:18
- Changed state: NeedMoreInfo
- Added labels: ****
- Removed labels: ****
from alfresco-bulk-filesystem-import.
Some more details to the issue. Alfresco 4.2.0 has a bug in the official bulk
importer, so the version history is not complete even with the official bulk
importer. The last version is not properly created with it. This issue has been
fixed in 4.2.1.
So, this issue could be due to Alfresco 4.2.0.
Original comment by [email protected]
on 12 Jun 2014 at 12:27
- Added labels: ****
- Removed labels: ****
from alfresco-bulk-filesystem-import.
Tested again with Alfresco 4.2.2 with both official bulk importer and community
importer version 1.3.1.
The community version creates the incomplete version history in the same way as
Alfresco 4.2.0 official bulk importer. In other words, one version is missing.
A sample file with three file versions attached as zip. After the import share
only shows two versions:
- 2.0 latest (this is input file number 3) and
- 1.0 (this is input file number 1).
See, attached screenshot.
Furthermore, if trying to download the version for old version 1.0, there is an
error (this is the original issue).
When testing with Alfresco 4.2.2 with official bulk importer, the version
history is correct (three versions), see attached screenshot. The files in the
version history (for 1.0 and 2.0) can be downloaded correctly.
Original comment by [email protected]
on 12 Jun 2014 at 2:03
- Added labels: ****
- Removed labels: ****
Attachments:
- sample.zip
- version-history-with-community-bulk-import.jpg
- version-history-with-official-bulk-import.jpg
from alfresco-bulk-filesystem-import.
More test results... I missed the changed downloads location, so that is why
initial testing was done with old 1.3.1 version.
I tried again with Alfresco 4.2.2 and community importer 1.3.3 amp (module
version 1.3.2.99). With this version, the version history is still incorrect,
but the original issue was fixed. That is, the content for an old version can
be downloaded successfully in share.
Original comment by [email protected]
on 12 Jun 2014 at 2:24
- Added labels: ****
- Removed labels: ****
from alfresco-bulk-filesystem-import.
Interesting - it looks like this is a bug in Share.
I imported "fileWithVersions.txt" from the unit tests (which has 4 versions)
[1], into a Share site, and like you I only see 3 versions in the Share UI.
The Explorer UI, however, clearly shows that there are indeed 4 versions stored
in the repository - see the attached screenshots, showing the exact same file
viewed in each UI, but with different version counts.
I'll raise an Alfresco bug, and also investigate whether there's a workaround
that makes it work the same in both UIs.
Nice catch!!
[1]
https://code.google.com/p/alfresco-bulk-filesystem-import/source/browse/?name=4x
#hg%2Fsrc%2Ftest%2Fdata%2FSinglePassTests%2FVersionTests
Original comment by [email protected]
on 12 Jun 2014 at 5:38
- Added labels: ****
- Removed labels: ****
Attachments:
- [Screen Shot 2014-06-12 at 10.15.04 AM.png](https://storage.googleapis.com/google-code-attachments/alfresco-bulk-filesystem-import/issue-149/comment-5/Screen Shot 2014-06-12 at 10.15.04 AM.png)
- [Screen Shot 2014-06-12 at 10.14.43 AM.png](https://storage.googleapis.com/google-code-attachments/alfresco-bulk-filesystem-import/issue-149/comment-5/Screen Shot 2014-06-12 at 10.14.43 AM.png)
from alfresco-bulk-filesystem-import.
I think it is not a share issue, since in your screenshots, there are three
versions both in web client and share. In other words, one version is missing.
If importing with the alfresco official importer, there will be four versions:
1.0 - 4.0.
Original comment by [email protected]
on 13 Jun 2014 at 10:48
- Added labels: ****
- Removed labels: ****
from alfresco-bulk-filesystem-import.
Unlike the Share UI, the Explorer UI doesn't show the "tip" version in the
version history - that list is just the "historical versions".
You can confirm this by downloading the file from the "properties" section to
check the content (the unit tests state their versions in the file content, to
facilitate this kind of testing), then clicking each of the "view" links beside
each version in the version history - you'll find that all 4 versions are
indeed there.
Original comment by [email protected]
on 13 Jun 2014 at 3:29
- Added labels: ****
- Removed labels: ****
from alfresco-bulk-filesystem-import.
Original comment by [email protected]
on 13 Jun 2014 at 3:37
- Changed state: Accepted
- Added labels: ****
- Removed labels: ****
from alfresco-bulk-filesystem-import.
Workaround for issue #149 - revision 710f15a08f54.
Original comment by [email protected]
on 16 Jun 2014 at 11:04
- Added labels: ****
- Removed labels: ****
from alfresco-bulk-filesystem-import.
Original comment by [email protected]
on 16 Jun 2014 at 11:05
- Changed state: Fixed
- Added labels: ****
- Removed labels: ****
from alfresco-bulk-filesystem-import.
Related Issues (20)
- Status graphs don't work on SSL connections HOT 8
- Notification or Message system for batching bulk import from external program HOT 1
- Autosized thread pool should be the default but isn't HOT 1
- Improve support for Multi-Valued properties HOT 5
- Content URLs longer than 256 characters need to halt bulk import HOT 1
- Update build to use alfresco-maven-plugin HOT 1
- Create "contrib" area for 3rd parties to contribute tools / scripts that interoperate with the tool HOT 2
- Investigate parallel import of batches within a single source directory HOT 1
- Provide estimate of percentage complete HOT 1
- The replacement of "Company Home" to site name is not working perfectly HOT 2
- simpleyui.js should be included into source code HOT 1
- Consider migrating to a project hosting service that supports pull requests (or equivalent) HOT 1
- Current 1.3 release appears to be built with Java 1.7, making it incompatible with 4.0.x and 4.1.x, which require Java 1.6 HOT 1
- Problem with major version comparison HOT 5
- Problem with buildContentProperty() HOT 1
- In-place imports write incorrect content URLs when configured contentstore has a trailing '/' character HOT 5
- Bulk import switches to streaming when dir.root starts with a lower case letter on Windows HOT 3
- Redirect is not properly configured HOT 2
- Invalid Filename HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfresco-bulk-filesystem-import.