matrei commented on PR #15266:
URL: https://github.com/apache/grails-core/pull/15266#issuecomment-3767359022

   @codeconsole @jdaugherty
   
   I have tested this with a 7.1.x application of this branch, and a 7.0.x 
plugin with a domain and it is not breaking.
   
   However, for:
   
   ```groovy
   // domain object in application (not plugin, as DisplayType is not available 
there yet)
   package testcompat
   
   import grails.gorm.validation.DisplayType
   
   class Cat {
   
       String name
       String type
       String color
   
       Date dateCreated
       Date lastUpdated
   
       static constraints = {
           name(nullable: false, size: 0..20)
           type(display: DisplayType.INPUT_ONLY)
           dateCreated(display: DisplayType.OUTPUT_ONLY)
           lastUpdated(display: DisplayType.ALL)
       }
   }
   ```
   
   I would have expected to see `dateCreated` in the show view, and both 
`dateCreated` and `lastUpdated` in the list view:
   
   <img width="3057" height="991" alt="list" 
src="https://github.com/user-attachments/assets/f6ecf28e-f022-44e2-b9ce-9ec00ac763cf";
 />
   <img width="1491" height="1027" alt="show" 
src="https://github.com/user-attachments/assets/f8dcf2ee-bb64-4075-ab1b-f76e11842669";
 />
   <img width="1444" height="977" alt="edit" 
src="https://github.com/user-attachments/assets/b748bf59-bb3d-4257-921f-e56b50c95c54";
 />
   <img width="757" height="1800" alt="plugins" 
src="https://github.com/user-attachments/assets/73358731-7301-4321-b8cc-7126a91ad1f7";
 />
   
   


-- 
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]

Reply via email to