[Logo] Infoglue - Official Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
ImportContentAction bug  XML
Forum Index » Core Development
Author Message
uibcti

User
[Avatar]

Joined: 11/11/2009 09:35:02
Messages: 26
Location: Universitat de les Illes Balears - Mallorca - Spain
Offline

The import process has a bug. The ContentVersions are not imported into the correct creation order, and that is very important!. Usually, in IG the access to contentVersions is by the maximum ID in a given state

The solution is simple, we just sort the list of contentVersions in 'org.infoglue.cms.applications.contenttool.actions.ImportContentAction':

Functions:
createContents() y updateContents()

It would be something like:

with a new class comparator:




Could the IG team implement these changes in future versions?

Thank's in advance.
[WWW]
 
Forum Index » Core Development
Go to:   
Powered by JForum 2.1.8 © JForum Team