Hi,

We have a problem with the display of the terms of a web thesaurus based on the ww10 section. It was working fine and suddenly we don't know why it stopped working. It only happens to us with this thesaurus.

If we display the thesaurus element, the child is visible but without a name or identifier or the possibility of displaying its respective children.

However, if we access editing the child element, it has a name, the parent element (hierarchy) and associated children.

We have tried to put different elements of the thesaurus as a general term of the hierarchy and the same thing always happens.

The following error is shown in the log when deploying the hierarchy

AH01071: Got error 'PHP message: \x1b[43mERROR [dd_error::captureError]: Array\n(\n [type] => 2\n [message] => Undefined array key 0\n [file] => /prehistoria/httpdocs/dedalo6-pre/core/ts_object/class.ts_object.php\n [line] => 104\n)\n\x1b[0m; PHP message: \x1b[43mDEBUG_LOG [ERROR]\n RecordObj_dd::construct This record dd not exists! [terminoID:"" - prefijo:""] - debug_backtrace: \n[\n {\n "file": "/prehistoria/httpdocs/dedalo6-pre/core/ts_object/class.ts_object.php",\n "line": 104,\n "function": "construct",\n "class": "RecordObj_dd",\n "object": {\n "blIsLoaded": null,\n "arModifiedRelations": null,\n "use_cache": true,\n "use_cache_manager": false,\n "dato": null,\n "terminoID": null\n },\n "type": "->",\n "args": [\n null\n ]\n },\n {\n "file": "/prehistoria/httpdocs/dedalo6-pre/core/ts_object/class.ts_object.php",\n "line": 258,\n "function": "get_ar_elements",\n "class": "ts_object",\n "type": "::",\n "args": [\n "www1",\n false\n ]\n },\n {\n "file": "/prehistoria/httpdocs/dedalo6-pre/core/api/v1/common/class.dd_ts_api.php",\n ...; PHP message: \x1b[43mERROR [dd_error::captureError]: Array\n(\n [type] => 1024\n [message] => This record dd not exists! [terminoID:"" - prefijo:""] \n [file] => /prehistoria/httpdocs/dedalo6-pre/core/db/class.RecordObj_dd.php\n [line] => 69\n)

It seems that there is some bad or corrupted data that prevents the hierarchy from being displayed correctly.

We have tried to regenerate the thesaurus from the hierarchy tool but it has not worked

Do you have any idea what could be happening or what we can do to locate the problem?

Thanks

Hi

Seems an issue of the term used to show it into the thesaurus. The error say that you don't have the section_list_thesaurus in your ontology or the creation of that section was not correct. Review your www1 into the ontology. It has to have at least a section_list node, in this case, it will get the section_list_thesaurus and the section_map from the ww10 or if you have you own definition you will need to review them, take account that this nodes has to be configured as ww5 and ww9.

If your virtual section is ok. Review your data to ensure that is correct. The term showed in this thesaurus is "Menu name" ww11 NOT the Title ww18

I hope it help...

Best

Hi,
Thanks for the reply, it has been very helpful.

First we have reviewed the data and we have seen that the element that was defined as a general term of the hierarchy had a child that referred to a record with id=tmp. We thought that this could be the problem so we have deleted it (directly from the postgresql database) but it still did not work.

Then we have reviewed the ww ontology and we have seen that the ww9 element that you referred to in your message did not exist (nor did ww7). We do not know how they could have been deleted. In any case we have updated the ww ontology with which these elements have been recreated and the problem with the display of the thesaurus has been solved.

Thanks again