Uploaded image for project: 'Providence'
  1. PROV-2006

Source id not saving correctly on edit form

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects versions: 1.6.3
    • Fix versions: None
    • Components: None
    • Labels:

      Description

      The source_id of the object is defined to NULL in the database after the user saves changes to an object, even if not changing the source_id value, just as long as the source_id field is in the current screen being saved.

      This happens because the form element is submited as follows:
      ------WebKitFormBoundaryR8OX8PbYJRfRwvw2
      Content-Disposition: form-data; name="source_id"

      Instead of the placement_code+form_prefix+field_name pattern every other field seems to follow, instrisic or not.

      The root of this problem I believe is in the way the field (source_id) is rendered, with the wrong select html element name.

        Attachments

          Activity

            People

            • Assignee:
              Former user (Inactive)
              Reporter:
              Pedro Amorim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: