Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3210

Refactor task controller postAction

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • None
    • None
    • Import/Export
    • High

    Description

      Problem:

      The TaskController contains currently to much code of the wrong level.

      Controller logic should only be things dealing with HTTP requests, like authentication, getting data from the PUT/POST parameters, file uploads.

      All other import logic (currently partly in a trait, example the default setting evaluation) should be extracted in a re-usable import class (exists already one).

      The goal is, that we have a single class to be invoked when starting an import (for example the ConnectWorldserver plug-in doubles parts of the TaskController logic here instead re-using just a import class).
      Currently this is not possible, since to much import logic is directly in the controller.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tlauria Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: