Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoOffset no longer acting as intended #2469

Closed
adrianspeyer opened this issue Feb 2, 2015 · 7 comments · Fixed by #9511
Closed

AutoOffset no longer acting as intended #2469

adrianspeyer opened this issue Feb 2, 2015 · 7 comments · Fixed by #9511
Labels
Domain: Discussions Status: Won't Fix The severity and priority of this issue do not warrant the time or complexity needed to fix it Type: Bug A clear defect in a feature that has been shipped. Fix should include automated testing if possible.

Comments

@adrianspeyer
Copy link
Contributor

Applied AutoOffset fales to config to stop jumping to last unread post:

$Configuration['Vanilla']['Comments']['AutoOffset'] = FALSE;

Does not seem to be respected in latest master.

@linc linc added the Bug label Feb 14, 2015
@linc linc added this to the 2.2 beta milestone Feb 21, 2015
@linc linc removed this from the 2.2 beta milestone Jun 3, 2015
@linc linc removed the Bug label Sep 26, 2015
@bleistivt
Copy link
Contributor

AutoOffset is working as intended for me: If it is disabled, I get directed to the first page instead.

@charrondev charrondev changed the title AutoOffest no longer acting as intended AutoOffset no longer acting as intended Sep 4, 2018
@charrondev
Copy link
Contributor

It seems to be failing still non my localhost (running latest master):

To reproduce

  • Create a thread with user a
  • Have user b create a comment
  • Have user a visit thread
  • Observe getting jumped down to that comment.

@bleistivt
Copy link
Contributor

Sorry, I tried it with a discussion of 4 pages. It correctly sent me to the first page which didn't contain the #latest anchor. So I guess it's half broken: It sends you to the right page but if that page contains a #latest anchor it will still be the wrong offset.

What would be the preferred fix?

  • Not linking to the #latest anchor form the discussion view?
  • Not adding the anchor at all?

@charrondev
Copy link
Contributor

I'm leaning towards

Not adding the anchor at all

Primarily because it keeps everything on the DiscussionController side. Do you have an opinions here @linc ?

@charrondev charrondev added Verified Reproduction Steps Type: Bug A clear defect in a feature that has been shipped. Fix should include automated testing if possible. Domain: Discussions labels Jan 4, 2019
@tburry tburry added Status: Won't Fix The severity and priority of this issue do not warrant the time or complexity needed to fix it and removed Status: Won't Fix The severity and priority of this issue do not warrant the time or complexity needed to fix it labels Oct 24, 2019
@repo-ranger
Copy link

repo-ranger bot commented Oct 24, 2019

This is something that is working as intended or we won't fix at this time.

This issue will automatically be closed in 7 days. If you don't think the issue should be closed you can remove the Status: Won't Fix label, but please comment why.

@bleistivt
Copy link
Contributor

bleistivt commented Oct 26, 2019

@tburry Is Autooffset = off being deprecated?

If not, I don't see how this is working as intended. It should also be a really simple fix (adding or not adding the hash, see above). The only thing missing here was the decision of a maintainer how it should be approached.

@tburry
Copy link
Contributor

tburry commented Oct 26, 2019

I am just working to get our issues down to a manageable state which involves closing off some issues that are stale and are unlikely to be fixed.

Given that this issue was filed in 2015, it fits that description. Most likely Vanilla.Comments.AutoOffset will be deprecated out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Domain: Discussions Status: Won't Fix The severity and priority of this issue do not warrant the time or complexity needed to fix it Type: Bug A clear defect in a feature that has been shipped. Fix should include automated testing if possible.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants