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

[New Form Builder] Date fields are not being shown when creating an Autofill rule

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Forms
    • Labels:
      None

      Description

      Summary:
       Date fields are not being shown when creating an Autofill rule

      * This issue was found when trying to reproduce https://issues.liferay.com/browse/LPS-88935

      Steps to reproduce:

      1. Deploy apiaijeh.jar into portal.
      2. Go to Content > Forms.
      3. Go to add a Data Provider.
        • Name: DateCompare
        • URL: http://localhost:8080/o/apiaijeh/apis/compare/dates
        • User: test@liferay.com
        • Password: test
        • Input Parameter1: date1 Type: Text
        • Input Parameter2: date2 Type: Text
        • Output Label1: diff Path: $.diffdays Type: Text
        • Output Label2: msg Path: $.message Type: Text
      4. Save Data Provider.
      5. Go back to the Form List.
      6. Add a Form like following:
        From: Date
        Till: Date
        Result: Numeric(Integer)
        Reason: Text Field
      7. Save the Form.
      8. Navigate to 'Rules' tab.
      9. Add a Rule.
      10. Create the following rule:
        Condition: If Field From is not empty 
        AND Field Till is not empty 
        Action: Autofill Result from Data Provider DateCompare

      Expected result:
      Field From should be available to be selected on DataProvider inputs 

      Actual result:
      Field From is not available to be selected on DataProvider inputs 

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                26 weeks, 2 days ago

                Packages

                Version Package
                Master