Uploaded image for project: 'Immutant'
  1. Immutant
  2. IMMUTANT-604

Using web/run :filter-map option causes ClassCastException

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.3
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Call web/run with opts that contains any non-empty value for the :filter-map key.

      Show
      Call web/run with opts that contains any non-empty value for the :filter-map key.
    • Release Notes Text:
      Should be fixed in incremental 704. We were erroneously keywordizing option keys recursively in extract-options. Should only be doing that at the top-level now.

      Description

      Somewhere between org.immutant/web 2.x.incremental.658 and 2.1.2 the feature I'd requested in IMMUTANT-586 was broken. A cursory examination suggests this is caused (indirectly?) by extract-options turning all keys in the map to Keywords, thereby causing a failure in Java--specifically on UndertowWeb.java#179.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcrossley Jim Crossley
                  Reporter:
                  tdavis Tom Davis
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: