Under PHP5, the navigation calendars on daily containers are displaying correctly but not providing links on the day numbers, even on days that have daily nodes in the correct taxonomy published on them.

Comments

Frodo Looijaard’s picture

Assigned: Unassigned » Frodo Looijaard

Could you please check again with a user that has 'administer nodes' rights? There are no links generated for dates in the future, except for users with that privilege.

As it works on PHP4, this is kind of strange. Could you please send me (drupal@frodo.looijaard.name) a screenshot and the generated HTML page (pasting from a view source browser window is fine) so that I can investigate it futher? If both are not too large, attaching them to this bug is fine too.

Thank you,
  Frodo

Tc27’s picture

Oops... That's not quite what I meant; dailies with publishing days in the future are appearing at the appointed time for anonymous viewers, while those with 'administer nodes' can see all of them. The problem is that nobody can click on a number in the calendar (say, the 21st of the month) to go to the associated node, even if a published one exists for it in the past. I'm not too hot with PHP, but a glance at the code suggested this is the intended functionality.

Now that I check, the first/previous/next/last links seem to be pointing to the wrong places as well no matter what rights the viewer has. I have dailies on nodes 12, 13 and 14 (in chronological order, all are published and past their auto-publish date).

Viewing the container itself, First links to 12 (correct), Previous links to 14 (which is the same content as being displayed; by rights it should point to 13).
Viewing node 14 directly gives the same result.
Viewing node 12 displays a Previous link that points to node 14 (!?), and a Last link that points to 14; no Next link.
Viewing node 13 directly (not reachable by links) gives a First link pointing to 12 (correct), a Previous link pointing to 14 (should be 12), and a Last link pointing to 14; no Next link.

Requested info has been emailed. I should also mention I'm using the module files you updated to CVS after my other bug reports (4.6 versions rather than HEAD).

Frodo Looijaard’s picture

This may now be fixed (see Trying to fix daily calendar misbehaviour) in HEAD. I will push it to DRUPAL_4_6 soon too.

  Frodo

Frodo Looijaard’s picture

Status: Active » Fixed

Closing because no futher feedback was received. Please reopen if this is still an issue.

  Frodo

Anonymous’s picture

Status: Fixed » Closed (fixed)