Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8413

Definition app problems ignore inaccesible setters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.3.0
    • 6.2.18
    • None

    Description

      Steps to reproduce

      1. Reduce visibility of ConfiguredFieldDefinition#setFactoryClass from public to protected
      2. Use this field config in a dialog or an app:
          aField:
            $type: comboBoxField
            factoryClass: info.magnolia.ui.field.factory.LinkFieldFactory
            

      Expected results:

      factoryClass ** reported as missing property

      Actual results:

      The problem does not reach the definition app unless the getter is protected as well, see Map2BeanTransformer.java.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                thien.quach Quach Hao Thien
                rkovarik Roman Kovařík
                Nucleus
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1d 3h
                      1d 3h