After module installation, in page /admin/badges/list

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.badge.add_form" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 187 of /var/www/html/core/lib/Drupal/Core/Routing/RouteProvider.php).

Comments

proweb.ua created an issue. See original summary.

mylies’s picture

Assigned: Unassigned » mylies
mylies’s picture

Assigned: mylies » Unassigned
pifagor’s picture

Status: Active » Needs review
StatusFileSize
new906 bytes

There should be a code like patches. Not tested because they do not have a chance.

pifagor’s picture

StatusFileSize
new451 bytes

or

proweb.ua’s picture

StatusFileSize
new10.21 KB

#5 Now the page is opened without errors

alt

proweb.ua’s picture

StatusFileSize
new13.34 KB

#4 here there was a link Add Badge
alt

but if you click on the link Add Badge

Drupal\Core\Entity\EntityStorageException: Missing bundle for entity type badge in Drupal\Core\Entity\ContentEntityStorageBase->doCreate() (line 83 of /var/www/html/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php).

mohit_aghera’s picture

Thanks for submitting patch. I'll take a look at it today. Was stuck in some tasks.

mohit_aghera’s picture

StatusFileSize
new4.35 KB

Hi @proweb.ua @pifagor
Route to create new badge already exits. I have updated appropriate route there.
Moreover, fixed few more issues found during testing.
Updating patch so others can also review it and discuss it.

Anonymous’s picture

StatusFileSize
new3.99 KB
new405 bytes

Hi,

I'm trying to get this working for my community project drupaldynamics.com - there's been one commit since the beta release which fixes the route name issue in the action links yaml which you've also got in this patch.

I had many issues trying to get the latest dev as it would only give me the beta version but discovered if I added --prefer-source to composer-require it brought down all the branches so I managed eventually to re-roll the patch so it now applies cleanly to the 8.x-1.x branch.

It's breaking in a few other places too so if I manage to fix stuff I'll be posting more ;)

mohit_aghera’s picture

Status: Needs review » Fixed

Thanks pifagor, stevepurkiss, proweb.ua
I have pushed your changes and created new release 8.x-1.0-beta2
I still need to do some work in refining UX for backend management of badges, that i will be doing in next release along with bug fixes.
If you have any suggestions on better UX let me know, we can plan it and work accordingly.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pifagor’s picture