Skip to content

Plugin is not able to override gsp from other plugin #9689

@rlovtangen

Description

@rlovtangen

Plugin A depends on plugin B and is configured to load after plugin B.
Plugin B has a gsp, e.g. login/auth.gsp. Plugin A defines the same gsp.
Expects to see gsp from plugin A, but the original from plugin B is used.

In Grails 2.5, gsp from plugin A is used.

See example at https://github.com/rlovtangen/grails-override-gsp-example where myplugin depends on spring-security-core and tries to override login/auth.gsp but is unable to.
Switch to branch overrideInApp and you get a login/auth.gsp in myapp, this time it overrides the one from spring-security-core.

Grails 3.1.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions