Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-613

Non-existent function call on events for hour and minute input fields at the Date value condition page in Create Rule Wizard

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.2 Enterprise
    • Fix Version/s: 4.0 Enterprise
    • Component/s: Alfresco Explorer
    • Labels:
      None
    • Environment:
      Alfresco Enterprise - b290
      Server: Win2k8x32, Tomcat 6, MySql 5.1
      Client: Win XP SP3, FF 3.0 / IE 6.0
    • Testcase ID:
      Hide

      Explorer-1962

      Show
      Explorer-1962
    • Resolution Time Custom Field:
      89 weeks, 2 days, 8 hours, 54 minutes, 14 seconds

      Description

      Hour and minute input fields have calls to javascript function being made on the following events for the element: onChange, onKeyUp.
      The issue is in the non-existent function call being made there: "checkOkButtonState();" instead of "checkButtonState();". The latter validates the user entered values (property name, hour and minute) and based on the outcome enables or disables dialogue's "OK" button. Basically, we've got a typo here.

      Steps to reproduce:

      1. Log in as any User;
      2. Head to their Home space;
      3. Click "More actions" icon.
      4. Click "Manage Content Rules" link.
      5. Click "Create Rule" link.
      6. Select "Items with specific date value in property" option and click "Set Values and add" button.
      7. Set any value into "Property name" input field > "OK" button becomes enabled.
      8. Enter a non-digit value into or remove current value from hour (or minute) field.

      Expected Result:
      "OK" button becomes disabled.

      Actual Result:
      "OK" button is still enabled. Once clicked in this case will lead to a System Error (java.lang.NullPointerException).

      VadK

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                alfrescoqa Alfresco QA Team
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                  Structure Helper Panel