Uploaded image for project: 'ColdBox Platform'
  1. COLDBOX-183

Allow modules to override flash settings, flash now will build in aspects

    Details

      Description

      flash RAM is initialized in the RequestService.onConfigurationLoad().
      This is before ModuleService.onConfigurationLoad() is called so modules have no way to override the flash settings of the parent application.

      Luis suggested it might also make sense to load the flash scope at the register aspects level in the loader service. Then exposing a few more methods in the request service to create the flash scope s it could also be called on demand if needed.

      A quick-fix that works for me is to change the order in which the services are called by moving ModuleService.onConfigurationLoad() before RequestService.onConfigurationLoad() but this could have potential major consequences to other parts of the framework.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lmajano Luis Majano
                Reporter:
                TVScoundrel Tom Van Schoor
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: