1

I am migrating experience site from dev sandbox to our uat and deployment fails with java.util.NoSuchElementException: No value present. I've managed to deploy the site without all custom sites, so the issue will be somewhere in the custom pages.

Anyone has experience with this error msg?

1 Answer 1

2

So I was deploying one page at a time until one page resulted in the error. Then from the page I was removing components until I've figured out the problem.

Apparently, the html editor component allows you to save an anchor tag without its closing tag, and everything looks good.

<div>
   <a href="asdasd">
</div>

Despite that, after inspecting the element in dev console, the closing tag is in place. So they have some polishing processes for this, but in the metadata it is still missing.

<a target="_blank" href="asdasd"> this. </a>

Nevertheless, this page could not be saved. After fixing the missing closing tag, everything deploys as it should.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .