0

BugReport: Cannot access ChildObject if it has same name as parent

Hi there,

this works:

let domain := urlEncode(text(EMailDomain));
let ergebnis := {
        result: {
            output: {
                name: "Associação test test",
                url: "https://www.test.org.de",
                email: "test@test.org.br",
                summarize: "test is an industry association that supports machinery and equipment manufacturers in test. They promote the interests of their members, focusing on advocacy and representation. Their primary customers include manufacturers and suppliers within the machinery sector rather than individual farmers or contractors. They provide consultancy and strategic guidance to their members, emphasizing policy and industry standards rather than product sales.",
                country: "Test",
                industries: [1, 10],
                linkedIn: "https://www.linkedin.com/company/test"
            }
        }
    };
let inner := ergebnis.result.output;
AIRawResult := text(inner)

 

 

This doesn't work:
 

let domain := urlEncode(text(EMailDomain));
let result:= {
        result: {
            output: {
                name: "Associação test test",
                url: "https://www.test.org.de",
                email: "test@test.org.br",
                summarize: "test is an industry association that supports machinery and equipment manufacturers in test. They promote the interests of their members, focusing on advocacy and representation. Their primary customers include manufacturers and suppliers within the machinery sector rather than individual farmers or contractors. They provide consultancy and strategic guidance to their members, emphasizing policy and industry standards rather than product sales.",
                country: "Test",
                industries: [1, 10],
                linkedIn: "https://www.linkedin.com/company/test"
            }
        }
    };
let inner := result.result.output;
AIRawResult := text(inner)

 

 

Happens on Ninox Public Cloud and ate the rest of my top hair :-/

Please check and fix :-)
 

2 replies

null
    • Fred
    • 4 days ago
    • Reported - view

    email Ninox directly or post on the German version

    • Ninox partner
    • RoSoft_Steven.1
    • 4 days ago
    • Reported - view

    I think the use of two times "result" for an object is not recommended.

Content aside

  • 4 days agoLast active
  • 2Replies
  • 17Views
  • 3 Following