gpc / fields

a spiritual successor to the bean-fields plugin
http://gpc.github.io/fields/
84 stars 104 forks source link

Incorporate https://github.com/grails/scaffolding-old code and docs into fields plugin #364

Closed jamesfredley closed 1 month ago

jamesfredley commented 2 months ago

Fields is the only current plugin still using org.grails:scaffolding-core:2.1.0 which comes from https://github.com/grails/scaffolding-old and is archived. It was last released in 2019.

This also removes the confusion between org.grails:scaffolding-core:2.1.0 and org.grailsplugins:scaffolding:6.0.0-SNAPHOT, which are not related and do not reference each other.

https://github.com/grails/scaffolding does not use https://github.com/grails/scaffolding-old (org.grails:scaffolding-core), so the decision was made to put the code in the fields plugin. This also prevents a circular dependency reference.

The code and docs have been incorporated directly into fields so that the code can be maintained here. All git history has been maintained.

9 failing tests are currently ignored in this PR: https://github.com/gpc/fields/pull/364/commits/99c1dd94c32b14e1a9be4cf84feb933f7dc24d3c

This PR adds 116 passing tests for the scaffolding-old code.