-
Notifications
You must be signed in to change notification settings - Fork 193
How do I view a node in Drupal? I get errors if I set up a Next.js entity type #451
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
Comments
@championlife What does your entity type config looks like? |
I think I have seen this when I had no url path Alias configured for a
content type. Per
https://next-drupal.org/learn/quick-start/configure-path-aliases
On Wed, Feb 22, 2023 at 4:46 PM championlife ***@***.***> wrote:
I'll post a few screencaps, thanks.
[image: Screen Shot 2023-02-23 at 8 44 10 am]
<https://user-images.githubusercontent.com/97719299/220777537-db608f43-d1c9-4c0c-be49-22776a7a94e5.png>
[image: Screen Shot 2023-02-23 at 8 44 25 am]
<https://user-images.githubusercontent.com/97719299/220777546-b7e38192-a13b-4958-a84f-cecea41076dd.png>
[image: Screen Shot 2023-02-23 at 8 44 54 am]
<https://user-images.githubusercontent.com/97719299/220777549-e5c83491-b849-4fab-be16-4cc90617b2f5.png>
—
Reply to this email directly, view it on GitHub
<#451 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTDXN3KYPBHLV2OCFDH4F3WY2JNZANCNFSM6AAAAAAVDX6HOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
--
Tyler Fahey
512-563-8098
|
@twfahey1 Thanks! It didn't work initially when I created a Pattern and tried to Bulk Generate aliases. Because I had pre-existing nodes before I created a Pattern, it caused the error as Pathauto didn't Bulk Update those aliases. |
Are you able to get revalidate working without preview mode? It errors out for me when preview is not set, I believe its due to not knowing the site revalidate url?
|
I have the same question and concern as @TommyBloom: can we use the revalidation feature without enabling preview mode? Also, I had to set a "Preview URL" in the Next.js site configuration, in order to prevent the original error reported in this issue: All of this forces the use of Preview Mode if you want to take advantage of on-demand revalidation. |
Agree on this. This makes sense. The reason it works this way right now is revalidation was added in a later release. So we built it on top of the existing preview configuration for compatibility. @camilo-escobar Would you be interested in creating a separate issue for this? I'm adding this to the roadmap for 2.0 |
I'm just wanting to view a node when I'm logged into my Drupal site as an admin.
If I set up entity types under /admin/config/services/next/entity-types
All I get is errors when visiting the node, e.g https://my-drupal-site.pantheonsite.io/blog/new-article
If Preview mode is configured for the entity type I get an Invalid URI exception, otherwise I get a getSitesForEntity() error.
Also do I even need to configure an entity type if I'm not using Preview mode...?
Config:
The text was updated successfully, but these errors were encountered: