Instead of the title of the node (which is usually controlled by URL Aliases module), the page title in the yourls database is "Page not found".

If the short url is generated after initial creation, it works as expected, the yourls database identifies the page title correctly.

Comments

grantlucas’s picture

Assigned: Unassigned » grantlucas
Priority: Normal » Critical

Ah. Thanks for pointing this out. I thought I had caught all the page not found issues. Will try to correct this bug this weekend.

grantlucas’s picture

As a note for myself. When a new node is generated, the node isn't quite publicly accessible yet and on top of that, the path alias hasn't been generated yet resulting in a Yourl entry being made for "exmaple.com/node/#" with a page not found title instead of the correct information.

Still need to figure out a better point to generate the short url on initial node creation as right now hook_node_insert() is still too soon.