Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-3544

When the validateAttributeDefinition method is called for an Edoclite Role, and the parm does not validate successfully, an Exception is throw.

    Details

    • Type: Task Task
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Development
    • Labels:
    • Similar issues:
      KULRICE-8972Role Service does not include AttributeTransform for QueryByCriteria calls
      KULRICE-8821Refresh timer throws exception if refresh method to call not set
      KULRICE-3343KimTypeServIveBase class has protected method which can return null but calling method is assuming non-null value
      KULRICE-3654DateTimeServiceImpl.java parse method does not check for Valid Dates
      KULRICE-3543Edoclite applications throw an Exception when user double clicks an Action button.
      KULRICE-2308Update widgets to support calling two functions when a custom function is passed as a parm to the buttons template.
      KULRICE-7711Role qualifier validation being ignored when assigning a role as a member
      KULRICE-5784Group, Role, and Principal update methods need to call "inactivate" methods when their "active" status is changed to inactive
      KULRICE-7612Update core and location services to not throw exceptions when passed null arguments
      KULRICE-3851Nested collections of a reference throwing exception when maintenance document is canceled and not validating required
    • Rice Module:
      KEW

      Description

      The correct behavior in Edoclite would be to return the error message to the Edoclite form and cause the user to enter different data.

      snippet:
      WorkflowAttributeValidationErrorDTO[] errors = document.validateAttributeDefinition(attributeDef);
      if (errors.length > 0) {
      getEdlContext().setInError(true);

      Seems that once the setinError method is set to true, an Exception will result instead of Edoclite returning the error message onto the Edoclite form.

        Activity

        Hide
        Eric Westfall added a comment -

        Craig, let's plan to fix this locally and then contribute the fix back to Rice once we've got it tested an working. Can you enter an EN issue in our IU Jira and reference this Jira? Thanks.

        Show
        Eric Westfall added a comment - Craig, let's plan to fix this locally and then contribute the fix back to Rice once we've got it tested an working. Can you enter an EN issue in our IU Jira and reference this Jira? Thanks.
        Hide
        Craig Solinski (Inactive) added a comment -

        Created EN-1296.

        Thanks,
        Craig

        Show
        Craig Solinski (Inactive) added a comment - Created EN-1296. Thanks, Craig

          People

          • Assignee:
            Unassigned
            Reporter:
            Craig Solinski (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Structure Helper Panel