[COMPASS-6363] Geographic visualisation for nested geoJson object Created: 09/Dec/22  Updated: 29/Oct/23  Resolved: 16/Dec/22

Status: Closed
Project: Compass
Component/s: Schema
Affects Version/s: 1.34.1
Fix Version/s: 1.34.2, 1.35.0

Type: Bug Priority: Minor - P4
Reporter: Anas Dhouib Assignee: Le Roux Bodenstein
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-12-09-17-44-49-692.png     PNG File image-2022-12-09-17-46-03-113.png    
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Quahog

 Description   

Problem Statement/Rationale

The geographic visualisation is not working anymore after upgrading Compass to the last version and analyzing the schema. I can reproduce the issue with the last version 1.34.1 with a geoJson object in a nested document. This is working if the object is at root level with 1.34.1 , and working fine in previous versions (1.33.x and 1.32.x).

Steps to Reproduce

Sample document:
{
"adresse": {
"location":

{ "coordinates": [ -1.173479, 46.162422 ], "type": "Point" }

}
}

Expected Results

Actual Results

Missing map:

Additional Notes

Any additional information that may be useful to include.



 Comments   
Comment by Githook User [ 15/Dec/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: fix(schema): pass the preference as a prop when nesting Field COMPASS-6363 (#3890)

  • use the wrapped field when nesting
Comment by Githook User [ 15/Dec/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: fix(schema): pass the preference as a prop when nesting Field COMPASS-6363 (#3890)

  • use the wrapped field when nesting
Comment by Githook User [ 13/Dec/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: fix(schema): pass the preference as a prop when nesting Field COMPASS-6363 (#3890)

  • use the wrapped field when nesting
Comment by Githook User [ 13/Dec/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: fix(schema): pass the preference as a prop when nesting Field COMPASS-6363 (#3890)

  • use the wrapped field when nesting
Comment by Le Roux Bodenstein [ 12/Dec/22 ]

Actually nevermind. I have found the source of the bug.

Comment by Le Roux Bodenstein [ 12/Dec/22 ]

Hi Anas

Thanks for reporting this. Could you please check something for me? If you go to Help -> Settings, then in the settings modal the Privacy flag, is "Enable Geographic Visualizations" checked?

Generated at Wed Feb 07 22:42:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.