Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1685

Handle date fields during CSV import

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2-B2
    • Component/s: Data Management
    • Labels:
      None

      Description

      In the "kCSVHelper::ImportStep" method prior to "kDBItem::SetField" call:

      1. get "formatter" option of processed field declaration
      2. if formatter is specified, then get associated object from factory
      3. if formatter object is of "kDateFormatter" class:
        1. set "FieldName_combined" virtual field
        2. set "input_format" field option to the "format" option in grid column declaration (if present) or to "format" option in field declaration

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m