Details

    • Type: Impedibug
    • Status: Closed
    • Priority: Major
    • Resolution: Completed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Labels:
      None

      Description

      Step to reproduce:

      1. Add a new site
      2. Add a new fragment
      3. Type the following code in HTML section
        	<${configuration.headingLevel} class="component-heading mb-0 text-break" data-lfr-editable-id="element-text"
        		data-lfr-editable-type="text">
        		Heading Example
        	</${configuration.headingLevel}>
        
      4. Type the following code in CSS section
        	.fragment-heading-text-colored a {
        		color: inherit;
        	}
        
      5. Type the following code in JSON section
        	{
        		"fieldSets": [
        			{
        				"fields": [
        					{
        						"dataType": "string",
        						"defaultValue": "h1",
        						"label": "heading-level",
        						"localizable": true,
        						"name": "headingLevel",
        						"type": "select",
        						"typeOptions": {
        							"validValues": [
        								{
        									"value": "h1"
        								},
        								{
        									"value": "h2"
        								},
        								{
        									"value": "h3"
        								},
        								{
        									"value": "h4"
        								},
        								{
        									"value": "h5"
        								},
        								{
        									"value": "h6"
        								}
        							]
        						}
        					}
        				]
        			}
        		]
        	}
        
      6. Publish
      7. Add a page based on Blank
      8. Add the new fragment to page
      9. Click the body of fragment > General tab
      10. Select the H3 in Heading Level field
      11. Change to sv-SE via language selector on control menu
      12. Inspect the fragment element
      13. Assert component-heading is shown in h3 tags

      Expected Results:
      The H3 should be shown in Heading Level field.

      Actual Results:
      The H1 is still shown in Heading Level field.

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7. Portal master GIT ID: 6265d795b50b5e686e73d7e967d8d3283be2e792.

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            yang.cao Yang Cao
            Recent user:
            Yang Cao
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master