Grails 7 - s2-quickstart does not create Requestmap domain
Expected Behavior
When i use this command as described in doc,
./gradlew runCommand "-Pargs=s2-quickstart com.arjang User Role Requestmap
expected to create domain Requestmap
Actual Behaviour
It creates domains User Role and UserRole but does not create domain Requestmap
Steps To Reproduce
- Create a new grails 7 app
- add to build.gradle
implementation 'org.apache.grails:grails-spring-security:7.0.0-RC2' - then user command as described in doc
./gradlew runCommand "-Pargs=s2-quickstart com.arjang User Role Requestmap" - Domain directory does not have a
Requestmap.groovyfile
Environment Information
java=21.0.8-zulu gradle=8.14.3 groovy=4.0.28 grails=7.0.0-RC1
Example Application
No response
Version
7
@arjangch If you run this as the following are the results different?
./grailsw s2-quickstart com.arjang User Role Requestmap
I just tested with two identical apps
./grailsw s2-quickstart com.arjang User Role Requestmapworks. All 4 domains are created../gradlew runCommand "-Pargs=s2-quickstart com.arjang User Role Requestmap"does not work. Requestmap domain is not created.
@arjangch Thank you. It appears that the gradle task has a bug that might have been there for a while. Thankfully the old way, which we plan to keep is working, unfortunately the docs point you to the gradle way.
Documentation portion addressed on https://github.com/apache/grails-spring-security/pull/1175
Gradle Task vs Grails Script will be deferred for Grails 8.