Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page template 123456789123456789 does not exist. Check your theme configuration! #53

Open
ctincristiagv opened this issue Mar 8, 2024 · 1 comment

Comments

@ctincristiagv
Copy link

I have two separate environments - APEX and DB. One was created as a clone of the other one. Recently, I started using SQLcl to export and import page changes from Dev to Prod. I used it for one deployment, but now it fails for the second deployment.

If I try to export a page and then import it, I see the page got updated in the Admin's list of pages, but if I try to access it, the page loader hangs indefinitely. If I try to access the page from a client session, then a message is logged:
"Page template ... does not exist. Check your theme configuration!"

The page template identifier is MINIMAL_NO_NAVIGATION, part of '42. Universal Theme'.

@ctincristiagv
Copy link
Author

After further testing, it seems the SQLcl export puts some strange/random IDs for page/button templates. If I export the same page from the APEX Admin UI, the IDs are different (and can be crosschecked with, e.g., TEMPLATE_ID-s from the APEX_APPLICATION_TEMPLATES view).
If I import the page exported via UI, everything will be fine. If I import the one exported via SQLcl, it fails to render correctly due to the invalid template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant