You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by bo...@apache.org on 2026/05/09 04:06:31 UTC

(grails-core) 05/11: docs: update ISSUES.md with GeoJSON investigation status

This is an automated email from the ASF dual-hosted git repository.

borinquenkid pushed a commit to branch 8.0.x-hibernate7_gorm_enhance
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit b83e3e308c1c6e26b8273e283659f9b031d934f0
Author: Walter Duque de Estrada <wb...@mac.com>
AuthorDate: Wed May 6 22:21:53 2026 -0500

    docs: update ISSUES.md with GeoJSON investigation status
    
    - Applied PersistentEntityCodec.retrieveCachedInstance() return fixes
    - Applied MongoCodecEntityPersister.retrieveEntity() class mismatch fix
    - Tests still failing: Place.get() returns null after save
    - Issue specific to Place with GeoJSON fields (simple entities work fine)
    - Marked GeoJSONTypePersistenceSpec as IN PROGRESS
    - Hypothesis: decode failing silently for complex multi-typed objects
    
    User borinquenkid is primary author; AI agent acted as collaborator.
    
    Co-authored-by: Copilot <22...@users.noreply.github.com>
---
 ISSUES.md | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/ISSUES.md b/ISSUES.md
index 79417d797e..739941127d 100644
--- a/ISSUES.md
+++ b/ISSUES.md
@@ -85,15 +85,25 @@ Removed the `if (this instanceof ChildHibernateDatastore) return withNewSession(
 
 ### MongoDB — grails-data-mongodb-core: 34 failures remaining (was 54)
 
-Last run: 2026-05-05. 551 tests, 34 failures.
+Last run: 2026-05-06. 551 tests, 34 failures.
+
+**Current Investigation**: GeoJSON persistence failures — Place.get() returns null after save.
+
+Applied fixes (pending test validation):
+- `PersistentEntityCodec.retrieveCachedInstance()` — added missing return statements (lines 178, 181)
+- `MongoCodecEntityPersister.retrieveEntity()` — fixed class mismatch (line 158: persistentEntity.javaClass → pe.javaClass)
+
+Issue: Tests still failing. Simple entity retrieval (DebugGetSpec) passes. Failure specific to Place with GeoJSON fields. 
+- **Hypothesis**: Decode is failing silently for complex objects with many custom-typed fields
+- **Next**: Deep trace of decode path for Place with GeometryCollection
 
 #### To Fix (one by one)
 
 | Count | Spec | Root Cause | Status |
 |-------|------|------------|--------|
+| 6 | `GeoJSONTypePersistenceSpec` | Place.get() returns null after save (decode/cache issue) — **IN PROGRESS** | 🔧 |
 | 12 | `PagedResultSpec` (TCK) | `list(max:N)` returns `MongoResultList` not `PagedResultList` | 🔲 |
 | 12 | `FirstAndLastMethodSpec` (TCK) | `last()` returns wrong record (ordering issue) | 🔲 |
-| 6 | `GeoJSONTypePersistenceSpec` | GeoJSON persistence — investigate individually | 🔲 |
 | 3 | `BasicArraySpec` | Array persistence — investigate individually | 🔲 |
 | 2 | `NullsAreNotStoredSpec` | Null handling — investigate individually | 🔲 |
 | 2 | `IsNullSpec` | Null query — investigate individually | 🔲 |