fix Issue 12309 - The template fullyQualifiedName returns wrong result
Merge pull request #1982 from 9rnsr/fix12309

Issue 12309 - The template fullyQualifiedName returns wrong result