codeconsole commented on PR #15122: URL: https://github.com/apache/grails-core/pull/15122#issuecomment-3386850485
# In Summary All this does is make @Autotimestamp properties dirty if there are changes so they will be persisted. It doesn't affect anything else. I spent about an hour making a test app that you can verify everything working on both hibernate and mongo in just 3 commands. ### Publish fix to mavenLocal() ``` git clone --depth 1 --branch 7.0.x-autotimestamp-mongo-fix https://github.com/codeconsole/grails-core grails-core-autotimestamp-mongo-fix && cd grails-core-autotimestamp-mongo-fix && ./gradlew pTML ``` ### Run fix on port 8081 for mongo and 8082 for hibernate in 2 command ``` git clone --depth 1 --branch mongodb-mavenLocal-7.0.0-SNAPSHOT https://github.com/codeconsole/mongo-test mongo-test-mongo-SNAPSHOT && cd mongo-test-mongo-SNAPSHOT && ./gradlew bootRun --args='--server.port=8081' git clone --depth 1 --branch h2-mavenLocal-7.0.0-SNAPSHOT https://github.com/codeconsole/mongo-test mongo-test-hibernate-SNAPSHOT && cd mongo-test-hibernate-SNAPSHOT && ./gradlew bootRun --args='--server.port=8082' ``` http://localhost:8081/user/create http://localhost:8082/user/create -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
