Uploaded image for project: 'Extraction'
  1. Extraction
  2. EXTRACT-103

Add a tool to execute an extraction with a description

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.0
    • 1.2.0
    • None
    • 4.3 M3

      Current behavior to execute an extraction:

      • Open the extraction list tool
      • Select an extraction and click on the "Execute" button
      • A dialog box allows you to select the needed parameters to launch the extraction (potential variables, mail address to receive the notification, stylesheets, ...)
      • Fill the parameters and click on OK button
      • The extraction is executed and a notification is sent by mail at the given address. The result is an XML file on your file system

      An extraction can be very complex and there is no way to get information about the extraction you are about to execute.

      Add a content to describe the extraction. An extraction has one description, a description is used for only one extraction (1-1 relation)

      Here is the new behavior to execute an extraction:

      • Open the extraction list tool
      • Select an extraction and click on the "?" button
      • A tool is opened with 2 parts
        • the part on top displays the content that describes the extraction
        • in the part at the bottom, there is a form that allows you to select the needed parameters to launch the extraction and an "Execute" button
      • Fill the parameters and click on "Execute" button
      • The extraction is executed and a notification is sent by mail at the given address. The result is an XML file on your file system

      Add a button for users allowed to modify extractions. This button allows t modify the extraction's description

          [EXTRACT-103] Add a tool to execute an extraction with a description

          A pop-up error appears when creating the description :

          Caused by: org.apache.excalibur.source.SourceNotFoundException: The plugin 'web' does not exist.

          I think it's because of the sitemap.xmap which does :

          <map:redirect-to uri="cocoon://_plugins/web/content-type.{1}.{2}?pluginName={request-attr:pluginName}"/> 

          Simon Prieul (Inactive) added a comment - A pop-up error appears when creating the description : Caused by: org.apache.excalibur.source.SourceNotFoundException: The plugin 'web' does not exist. I think it's because of the sitemap.xmap which does : <map:redirect-to uri="cocoon://_plugins/web/content-type.{1}.{2}?pluginName={request-attr:pluginName}"/>

          When adding a description, the pop-up to create a Content appears. Ok, asking the language is relevant, but I don't think for the title. The final user just want to add a description to its extraction (relation 1-1).

          In many cases, I believe that the user will not change it (so the effect will be that many contents will have title 'Nouvelle description (47)')

          So I propose to let the field 'Content title', but to pre-fill with a neat default title such as 'Description de l'extraction toto.xml'.

          Simon Prieul (Inactive) added a comment - When adding a description, the pop-up to create a Content appears. Ok, asking the language is relevant, but I don't think for the title. The final user just want to add a description to its extraction (relation 1-1). In many cases, I believe that the user will not change it (so the effect will be that many contents will have title 'Nouvelle description (47)') So I propose to let the field 'Content title', but to pre-fill with a neat default title such as 'Description de l'extraction toto.xml'.

            cbayle Caroline Bayle
            cbayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: