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

n2b: resolve support for 'enabled' flag

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 5.0
    • 5.0
    • core
    • None

    Description

      Content2Bean was using add methods that added beans to the collections. It was possible in this method to check if the bean is enabled and will be added to the collection or not. Node2Bean does not use add methods, but setters instead and we would need to loop through whole collection and check if bean is enabled or not (means also go through all code that is using Node2Bean mechanism and add checks if bean is enabled). After some discussion, it was decided, that Node2Bean should handle enabled flag to prevent adding such loops and should "filter out" beans with enabled flag set to false.

      First implementation was throwing all beans with enabled flag set to false, however STK uses this flag in another way and new reimplementation is needed.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jsimak Jaroslav Simak
                jsimak Jaroslav Simak
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR