It looks like the SSE server can't find namespaced projects, thus you get bugs like 'comments don't show up until you refresh the page' when interacting with them:
username = None try: if path.startswith('/fork'): username, repo, obj, objid = path.split('/')[2:6] else: repo, obj, objid = path.split('/')[1:4] except: raise PagureEvException("Invalid URL: %s" % path) repo = pagure.lib.get_project(pagure.SESSION, repo, user=username) if repo is None: raise PagureEvException("Project '%s' not found" % repo)
Note nothing is accounting for namespacing there. I'll try and fix this later.
https://pagure.io/pagure/pull-request/1534 addresses this.
And I have the JS part for this :)
I can't find back the PR which would include some JS code change related to this ticket, but I do think this ticket has been fixed.
So let's close it as such and re-open (or open a new one) if I'm missing something :)
@pingou changed the status to Closed
Closed