Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8458

When creating a custom field some datas are tested while they are hidden

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.4
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Administer-> custom datas, create a test dataset
      Add a field :
      choose a name, choose alphanumeric as type and advanced multiselect, enter one option like : testlabel/testvalue
      choose reference to contact in place of alphanumeric (the select option you configured is hidden), validate and you obtain :
      "Please enter a valid number"

      The problem is due to the testlabel/testvalue where testvalue should be an integer.
      1 - in the original choice (alphanumeric) nothing forces testvalue to be an integer
      2- this value is hidden so it's hard for the end-user to detect what's happening

      Maybe some cleaning is needed

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              tonthon tonthon
            • 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 - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified