forest-express-mongoose icon indicating copy to clipboard operation
forest-express-mongoose copied to clipboard

Nested Schema not displaying all attributes

Open elizabethhart opened this issue 7 years ago • 2 comments

Expected behavior

I see all attributes of the nested schema in object's Detail view.

Actual behavior

There are missing attributes of the nested schema in object's Detail view.

Failure Logs

What I see in Forest:

LOCATION ADR_ADDRESS 444 N Wells St, Chicago, IL 60654, USA

FORMATTED_ADDRESS 444 N Wells St, Chicago, IL 60654, USA

ICON https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png

ID

NAME 444 N Wells St

PLACE_ID ChIJ72B3HbQsDogRrhrr3Z-s0qE

REFERENCE ChIJ72B3HbQsDogRrhrr3Z-s0qE

SCOPE GOOGLE

URL https://maps.google.com/?q=444+N+Wells+St,+Chicago,+IL+60654,+USA&ftid=0x880e2cb41d7760ef:0xa1d2ac9fddeb1aae

UTC_OFFSET -300

VICINITY Chicago

What I see in my database:

"location": {
    "adr_address": "<span class=\"street-address\">444 N Wells St<\/span>, <span class=\"locality\">Chicago<\/span>, <span class=\"region\">IL<\/span> <span class=\"postal-code\">60654<\/span>, <span class=\"country-name\">USA<\/span>",
    "formatted_address": "444 N Wells St, Chicago, IL 60654, USA",
    "geometry": {
        "viewport": {
            "east": -87.63281016970848,
            "north": 41.8918673302915,
            "west": -87.6355081302915,
            "south": 41.8891693697085
        },
        "location": {
            "lng": -87.63428160000001,
            "lat": 41.89051509999999
        }
    },
    "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png",
    "id": "079f93f07af7be7a9e4ab4115e158b4f3094de65",
    "name": "444 N Wells St",
    "place_id": "ChIJ72B3HbQsDogRrhrr3Z-s0qE",
    "reference": "ChIJ72B3HbQsDogRrhrr3Z-s0qE",
    "scope": "GOOGLE",
    "url": "https://maps.google.com/?q=444+N+Wells+St,+Chicago,+IL+60654,+USA&ftid=0x880e2cb41d7760ef:0xa1d2ac9fddeb1aae",
    "utc_offset": -300,
    "vicinity": "Chicago",
    "_id": {
        "$oid": "5bd20ddda7756700044cb058"
    },
    "types": [
        "street_address"
    ],
    "html_attributions": [],
    "address_components": [
        {
            "types": [
                "street_number"
            ],
            "short_name": "444",
            "long_name": "444"
        },
        {
            "types": [
                "route"
            ],
            "short_name": "N Wells St",
            "long_name": "North Wells Street"
        },
        {
            "types": [
                "neighborhood",
                "political"
            ],
            "short_name": "River North",
            "long_name": "River North"
        },
        {
            "types": [
                "locality",
                "political"
            ],
            "short_name": "Chicago",
            "long_name": "Chicago"
        },
        {
            "types": [
                "administrative_area_level_2",
                "political"
            ],
            "short_name": "Cook County",
            "long_name": "Cook County"
        },
        {
            "types": [
                "administrative_area_level_1",
                "political"
            ],
            "short_name": "IL",
            "long_name": "Illinois"
        },
        {
            "types": [
                "country",
                "political"
            ],
            "short_name": "US",
            "long_name": "United States"
        },
        {
            "types": [
                "postal_code"
            ],
            "short_name": "60654",
            "long_name": "60654"
        }
    ]
},

Context

  • Package Version: 2.15.3
  • Express Version: 4.16.2
  • Mongoose Version: 4.13.7
  • MongoDB Version: 2.2.30

elizabethhart avatar Nov 16 '18 18:11 elizabethhart

I get this too - it's very annoying

jblok avatar Nov 20 '18 10:11 jblok

Hi @elizabethhart @jblok , I think it has been improved to, at least, provide JSON inputs for fields containing "deep" nested attributes in the record details view.

Did you re-try recently?

arnaudbesnier avatar Oct 28 '19 06:10 arnaudbesnier