docs: private void ensureParentValues(CmsObject cms, String valuePath, Locale locale) {
  
          if (valuePath.contains("/")) {
              String parentPath = valuePath.substring(0, valuePath.lastIndexOf("/"));
              if (!hasValue(parentPath, locale)) {
                  ensureParentValues(cms, parentPath, locale);
                  int index = CmsXmlUtils.getXpathIndexInt(parentPath) - 1;
                  addValue(cms, parentPath, locale, index);
              }
          }
      }