Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4998

Field pattern with required flag (*) is not replaced in view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • 2.6.2
    • 2.6.2
    • Module: Dataform
    • None
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE

      Scenario with expected outcomes:

      Given I start afresh with dataform "Test Dataform"
      And I log in as "teacher1"
      And I follow "Course 1"
      And I follow "Test Dataform"

      1. Add fields
        Then I go to manage dataform "fields"
        And I add a dataform field "text" with "Text 01"
      1. Add a default view
        Then I follow "Views"
        And I add a dataform view "aligned" with "View 01"
        And I set "View 01" as default view
      1. Required *
        Then I follow "id_editview1"
        And I expand all fieldsets
        And I fill textarea "Entry template" with "[[*Text 01]]\n[[EAC:edit]]\n[[EAC:delete]]"
        And I press "Save changes"
      1. Add entry with required field
        Then I follow "Browse"
        And I follow "id_editentry1"
        And I press "Save"

      Then I see "You must supply a value here."

      Then I set the field "id_field_1_1" to "This world is required"
      And I press "Save"

      Then I see "This world is required"

            itamart Itamar Tzadok
            itamart Itamar Tzadok
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.