Referenced Bean returns null in FTL after V13 upgrade

Hi All,

We have scenario where, we are trying to fetch the referencedbean of the document using below snippet in FTL after upgrading from V12.6.15 to V13.4.7. But it returns null.
In V12.6.15, it returns the expected value.

V12.6.15 - Using beanless code
V13.4.7 - Updated to componentless .

<#list pageable.items?sort_by(“author”) as item>
<#if item.firstname?? && item.firstname.referencedBean??>
<#assign fund=item.firstname.referencedBean />
</#if>
</#list>

Could you pls help us in resolving the issue?

Thanks,
Yeshwanth.

More logs from console.

[INFO] [talledLocalContainer] 04.02.2021 15:29:48 WARN http-nio-8081-exec-8 [DynamicBeanDefinitionService.addCustomPropertyType:250] Failed to create g
etter for property: brxp:presentationLayout of type: DynamicDropdown
[INFO] [talledLocalContainer] 04.02.2021 15:29:48 WARN http-nio-8081-exec-8 [DynamicBeanDefinitionService.addCustomPropertyType:250] Failed to create g
etter for property: brxp:funClass of type: DynamicDropdown
[INFO] [talledLocalContainer] 04.02.2021 15:29:48 WARN http-nio-8081-exec-8 [DynamicBeanDefinitionService.addCustomPropertyType:250] Failed to create g
etter for property: brxp:type of type: DynamicDropdown
[INFO] [talledLocalContainer] 04.02.2021 15:29:48 WARN http-nio-8081-exec-8 [DynamicBeanDefinitionService.addCustomPropertyType:250] Failed to create g
etter for property: bxp:classSubcategory of type: DynamicDropdown
[INFO] [talledLocalContainer] 04.02.2021 15:29:48 WARN http-nio-8081-exec-8 [DynamicBeanDefinitionService.addCustomPropertyType:250] Failed to create g
etter for property: brxp:status of type: DynamicDropdown
[INFO] [talledLocalContainer] 04.02.2021 15:29:48 WARN http-nio-8081-exec-8 [DynamicBeanDefinitionService.addCustomPropertyType:250] Failed to create g
etter for property: brxp:docType of type: DynamicDropdown

You will need to add a getter for DynamicDropdown yourself (I believe it is not supported by DynamicBeans generator)

I have created a document type for dropdowns and generated bean as below… still it shows same errors in logs. Please let me know if I am missing any ?

YAML File
definitions:
config:
/hippo:namespaces/brx/ValueListDocument:
jcr:primaryType: hipposysedit:templatetype
jcr:mixinTypes: [‘editor:editable’, ‘mix:referenceable’]
jcr:uuid: 49ac209e-c811-431b-bf27-bec2118c8bfb
/hipposysedit:nodetype:
jcr:primaryType: hippo:handle
jcr:mixinTypes: [‘mix:referenceable’]
jcr:uuid: 4b50b5c8-61d8-42b6-ba39-799e9c2419d7
/hipposysedit:nodetype:
jcr:primaryType: hipposysedit:nodetype
jcr:mixinTypes: [‘mix:referenceable’, ‘hipposysedit:remodel’]
jcr:uuid: b434080e-fe2e-4e19-9cdc-9bd3e4b1a481
hipposysedit:node: true
hipposysedit:supertype: [‘brx:basedocument’, ‘hippostd:relaxed’, ‘hippotranslation:translated’]
hipposysedit:uri: http://www.onehippo.org/brx/nt/1.0
/fClass:
jcr:primaryType: hipposysedit:field
hipposysedit:mandatory: false
hipposysedit:multiple: false
hipposysedit:ordered: false
hipposysedit:path: brx:fClass
hipposysedit:primary: false
hipposysedit:type: DynamicDropdown
hipposysedit:validators: [required]
/hipposysedit:prototypes:
jcr:primaryType: hipposysedit:prototypeset
/hipposysedit:prototype:
jcr:primaryType: brx:ValueListDocument
hippostd:holder: holder
hippostd:state: draft
hippostdpubwf:createdBy: ‘’
hippostdpubwf:lastModifiedBy: ‘’
hippotranslation:id: document-type-locale-id
hippotranslation:locale: document-type-locale
jcr:mixinTypes: [‘mix:referenceable’]
brx:fClass: ‘’
jcr:uuid: 64ab1eee-cfc8-41f0-a19c-85fd19c273b7
hippostdpubwf:lastModificationDate: 2021-02-05T12:47:32.676+05:30
hippostdpubwf:creationDate: 2021-02-05T12:47:32.676+05:30
/editor:templates:
jcr:primaryType: editor:templateset
/default:
jcr:primaryType: frontend:plugincluster
frontend:properties: [mode]
frontend:references: [wicket.model, model.compareTo, engine, validator.id]
frontend:services: [wicket.id, validator.id]
/root:
jcr:primaryType: frontend:plugin
item: {cluster.id}.field plugin.class: org.hippoecm.frontend.service.render.ListViewPlugin /fClass: jcr:primaryType: frontend:plugin caption: F Class field: fClass hint: 1,2,3 plugin.class: org.hippoecm.frontend.editor.plugins.field.PropertyFieldPlugin wicket.id: {cluster.id}.field
/cluster.options:
jcr:primaryType: frontend:pluginconfig
source: /content/documents/administration/value-lists/--classes

JAVA Snippet
import org.hippoecm.hst.content.beans.Node;
import org.hippoecm.hst.content.beans.standard.HippoDocument;
import org.onehippo.cms7.essentials.dashboard.annotations.HippoEssentialsGenerated;

@HippoEssentialsGenerated(internalName = “brx:ValueListDocument”, allowModifications = false)
@Node(jcrType = “brx:ValueListDocument”)
public class ValueListDocument extends HippoDocument {

@HippoEssentialsGenerated(internalName = "brx:fClass")
public String getFClass() {
    return getSingleProperty("brx:fClass");
}

}