GithubHelp home page GithubHelp logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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:

from alfresco-bulk-filesystem-import.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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:

from alfresco-bulk-filesystem-import.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024

Original comment by [email protected] on 13 Jun 2014 at 3:37

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

from alfresco-bulk-filesystem-import.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.