-
Bug
-
Resolution: Fixed
-
Minor
-
2.6.2
-
None
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
Field pattern with required tag, e.g. [[*Text]], is not replaced in Grid and Tabular views.
Scenario with expected outcomes (passes with Aligned view):
Given I start afresh with dataform "Test Dataform"
And I log in as "teacher1"
And I follow "Course 1"
And I follow "Test Dataform"
Add fields
Then I go to manage dataform "fields"
And I add a dataform field "text" with "Text 01"
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
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"
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"
- duplicates
-
CONTRIB-4998 Field pattern with required flag (*) is not replaced in view
- Closed