Skip to content

Scaffolded Namespaces Result in Unexpected Behvarior #15239

@codeconsole

Description

@codeconsole

Expected Behavior

@Scaffold(RestfulServiceController<Event>)
class EventController {
    static namespace = 'admin'
}

@Scaffold(RestfulServiceController<Event>)
class EventController {
}
grails-app/
    views/
        event/
            index.gsp
src/main/templates/scaffolding/admin/
    index.gsp

results in both resolving to grails-app/views/event/index.gsp

There should be a mechanism for namespaces to fallback on scaffolded views if they exist for that namespace.

Actual Behaviour

No response

Steps To Reproduce

No response

Environment Information

No response

Example Application

No response

Version

7.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions