I've an issue with Comment's URL on the Recent Activity section of a Task Section.

I created a Task and added few comments just to test the functionality.

In the Recent Activity section of the Task Section, Comments are displayed as expected and they could be also expanded for reading (with the + sign) but the URL they are linked to has the sitename stripped (the URL lacks of the sitename that, in my case, is turbosol).

As example the Task Section (Progettazione) has this URL:

http://192.168.0.252/turbosol/nuova-mini-avant-plus/progettazione

instead every comment (here, as example, Comment #11) has this other URL if browsed from the Recent Activity section:

http://192.168.0.252/comment/11#comment-11

Clearly that URL is non-existent (and so http logs a 404: GET /comment/11 HTTP/1.1" 404 207 "http://192.168.0.252/turbosol/nuova-mini-avant-plus/progettazione") and the link links to the 404 Not Found page.

The strange thing is that on the Task (Node) I can see Comments with the correct URL:

http://192.168.0.252/turbosol/comment/11#comment-11

where the sitename (turbosol in this case) is present and users can point to the Comment correctly.

This is the only place in the whole site that has this strange issue.

Comments

dpoletto’s picture

Title: Browsing URL of a Task's Comment on the Task Section's Recent Activity provide a 404 Not Found due to sitename URL part stripped away. » Task's Comment URL (only under Task Section's Recent Activity) has the sitename part stripped away.
dpoletto’s picture

I assigned a private FQDN on my OA2 setup (as example: the OA2 server is "oa2host.domain.local", assigned host name is "oa2host") to see if there could be any relationship with the issue I reported but I discovered that it doesn't really matter.

The OA2 site could have a (public/private) FQDN or it could just rely only on its Host assigned IP address: in both cases the issue is valid in my system, as reported, only on the Comment's URL that appears under the Recent Activity zone of a Task Section, not when exploring the same Comments of a Task in the Task's page (in this case each Comment's URL looks well formed and the link could be successfully browsed - with IP Addresses or FQDN, no matter - to the Comment itself). What's wrong?

Thanks, Davide.

marcialsoto’s picture

Do you solve this issue? I have the same problem :(

dpoletto’s picture

Hi @marcialsoto, actually I need to verify again because the reported issue, as was described by me while OA was 2.31, disappeared on new Comments/Posts that were added so far (basically I'm speaking about Comments/Posts added on OA after the 2.40 release): I'm now on OA 2.43 (as Production site) and I also have a OA 2.44 (as Test site) and so many things changed since OA 2.31. Are you still on OA 2.31 or are you experiencing this behaviour on OA 2.44 (latest actually)?