Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-91149

"Disable" searchable option is reset to "Keyword" after reopening "properties" tab



      "Disable" searchable option is reset to "Keyword" after reopening "properties" tab.
      Data is correctly stored to database, but in case you reopen the field properties tab, radio button is reset to "Keyword".

      This issue is not reproduced with "Text" searchable option

      Steps to reproduce

      1. Create a Form and add three text fields: Field1, Field2 and Field3.
      2. Configure first field as "Disable", second field as "Keyword", third field as "Text"
      3. After setting third field, go back to first field and check "searchable" configuration:
        • Expected behavior: searchable value remains "Disable"
        • Wrong behavior: searchable value is reset to "Keyword"

       Important: it is necessary to also test again LPS-89362 and LPS-83895 ("Scenario 4" and "Scenario 7")

      More information: https://issues.liferay.com/browse/LPS-89362?focusedCommentId=1707870&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1707870

      If you save the form without reopening searchable configuration, it is correctly stored to database:

      1. Set again first field to searchable "Disable" and save the form without reopening that field configuration
      2. Execute following SQL: select * from DDMStructure
      3. Check "definition" column
      4. You will see that structure definition is correctly stored:
        • Field1: "indexType":""
        • Field2: "indexType":"Keyword"
        • Field3: "indexType":"Text"



          Issue Links



              • Assignee:
                harry.chai Harry Chai
                jorge.diaz Jorge Diaz
                Participants of an Issue:
                Recent user:
                Clarissa Velazquez
              • Votes:
                0 Vote for this issue
                4 Start watching this issue


                • Created:
                  Days since last comment:
                  9 weeks, 3 days ago