Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10060

Importer: plug a method call on node creation error and allow to continue global import task

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.7.1
    • Component/s: Excel Export
    • Tags:
    • Impact type:
      API added
    • Upgrade notes:
      Hide

      Added
      ImporterDocumentModelFactory#processFolderishNodeCreationError(CoreSession session,
      DocumentModel parent, SourceNode node)
      and
      ImporterDocumentModelFactory#processLeafNodeCreationError(CoreSession session,
      DocumentModel parent, SourceNode node)

      + add default implementation in AbstractDocumentModelFactory

      Show
      Added ImporterDocumentModelFactory#processFolderishNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node) and ImporterDocumentModelFactory#processLeafNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node) + add default implementation in AbstractDocumentModelFactory

      Description

      Currently, when an error occurs while creating a node (GenericThreadedImportTask#doCreateFolderishNode and GenericThreadedImportTask#doCreateLeafNode), the whole import task stops.
      It would be nice to be able to:

      • Execute a specific process to deal with the node creation error
      • Decide if we want to stop the whole import task immediately afer such an error occurs or if we'd like to continue it.

        Attachments

          Activity

            People

            • Assignee:
              ataillefer Antoine Taillefer
              Reporter:
              ataillefer Antoine Taillefer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h