I was wondering if anyone else has experienced the strange problem that a link suddenly no longer contains any text?
The navigation of the project involved is always constructed the same way and the getText() method is used to retrieve the link text. The project uses a global for site navigation that contains several Neo fields, each with a "Typed Link Field" in the block layout.
Somehow the relationship with the chosen entry is broken and the fallback text ("Learn More") is used with each link, with the exception of links with a custom text.
Resaving the global solves the problem.
It has happened at random times and I cannot reproduce it on my local environment. So I don't know what the reason is.
It's a bit vague but does anyone have this problem?
I was wondering if anyone else has experienced the strange problem that a link suddenly no longer contains any text?
The navigation of the project involved is always constructed the same way and the
getText()
method is used to retrieve the link text. The project uses a global for site navigation that contains several Neo fields, each with a "Typed Link Field" in the block layout.Somehow the relationship with the chosen entry is broken and the fallback text ("Learn More") is used with each link, with the exception of links with a custom text.
Resaving the global solves the problem.
It has happened at random times and I cannot reproduce it on my local environment. So I don't know what the reason is.
It's a bit vague but does anyone have this problem?