Problem/Motivation

i observed that once we try to add the content it landing me to 404 page,

Steps to reproduce

after installation if we try to add the content (/admin/content/global-content)
giving me 404 page with this url
/admin/content/global_content/add

Proposed resolution

/admin/content/global_content/add but it should be /admin/content/global-content/add

Remaining tasks

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Shiv_Sharma created an issue. See original summary.

shiv_sharma’s picture

Assigned: shiv_sharma » Unassigned
Status: Active » Needs review
StatusFileSize
new723 bytes
new65.59 KB

I fixed the issue and created the patch for same and its working fine.
after patch screenshot

keshavv’s picture

Status: Needs review » Postponed (maintainer needs more info)
StatusFileSize
new267.41 KB

I have not seen any change in the patch.
Its working well for me.
Attaching screen shot.

shiv_sharma’s picture

-      '#empty' => t('There are no items yet. <a href="/admin/content/global_content/add">Add one</a>'),
+      '#empty' => t('There are no items yet. <a href="/admin/content/global-content/add">Add one</a>'),

@keshav.k please recheck global_content and global-content due to which its landing to 404

shiv_sharma’s picture

Status: Postponed (maintainer needs more info) » Needs review
keshavv’s picture

Status: Needs review » Reviewed & tested by the community

@shiv_sharma Got it.
Yes, This is a bug and this patch will work.
Thank you.

shashank5563’s picture

Status: Reviewed & tested by the community » Fixed
shashank5563’s picture

Status: Fixed » Closed (fixed)