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

Typo in TransformationSourceOptions method breaks JavaBeans contract.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.1 Enterprise
    • Fix Version/s: None
    • Component/s: Transformations
    • Security Level: external (External user)
    • Labels:
      None
    • Resolution Time Custom Field:
      55 weeks, 6 days, 3 hours, 22 minutes, 20 seconds

      Description

      The file org.alfresco.service.cmr.repository.TransformationSourceOptions declares a method public List<String> getApplicabledMimetypes(); - note the additional 'd'.
      Its subclass AbstractTransformationSourceOptions defines public void setApplicableMimetypes(List<String> applicabledMimetypes) - note that this doesn't have the extra 'd'.

      This is not a big issue, obviously. But it does mean that applicableMimeTypes would not be seen as a single JavaBean property and so the error should be fixed.

      If this method constitutes a published API, we should deprecate the one with the 'd' and add the correctly spelled one.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  nmcerlean Neil McErlean [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

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

                    Structure Helper Panel