Closed (cannot reproduce)
Project:
Pokéapi
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2015 at 17:09 UTC
Updated:
13 Aug 2025 at 09:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
darol100 commented@sgtsaughter,
What version of Drupal 8 are you running ?
Try to install Pokemon Content Type first and then install Pokéapi - Pokemon. This is my first time playing with D8 modules so I do not know, how or why did not work the import.
The reason why I was using "die" I build this first on PHP then I ported to Drupal and I forgot to make that Drupal friendly.
Comment #3
darol100 commentedIf you are trying this out again, you will need to uninstall the module because this will happen on the hook_install level.
Comment #4
darol100 commentedAdding a relate issue to replace the die() function with the drupal message.
Comment #5
darol100 commentedComment #6
darol100 commentedI cant reproduce this, on a D8 RC1 fresh install I install those to modules and I did not have any problems with importing the data.
This have been address on D7 and D8 version.
Closing this issue because I could not reproduce.
Comment #7
sgtsaughter commentedWhat is the expected result after the import? Should I have 719 nodes of the Pokemon Content Type? I am receiving the error "No more pokemon left" and I don't have any nodes created. I had tried this on D8 RC-1 now I have just tested this on a fresh install of D8 RC-2.
Comment #8
darol100 commented@sgtsaughter,
This morning I test it out on RC2 on fresh install and did not export if you enable both of them at the same time. I had to enable the pokemon_content_type wait until import the Pokemon content type and then enable the pokeapi_pokemon and this will import generate nodes base on the fields in the content type.
Yes
Here is the output that you should see in your content page (admin/content):
This is an example of the Bulbasaur node: