View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005743||Simple:Press||code - template functions||public||2017-01-31 13:59||2017-07-11 01:58|
|Reporter||Yellow Swordfish||Assigned To||Mr Papa|
|Priority||normal||Severity||N/A||Reproducibility||have not tried|
|Target Version||5.8||Fixed in Version||5.8|
|Summary||0005743: Group View - The open/close of newpost list seems to have ceased working|
|Description||Noticeable on the sp-reboot theme - this refers to the control on the right hand side of each forum row that calls an ajax function to display any new posts available for that forum - only shown, of course, when there are new posts available.|
|Tags||No tags attached.|
|change_log_text||closing as duplicate|
This is because of the work done under 0005707 or 0005741...
there used to a unique forum list ID applied to the div container of forums... now there is just a non unique class spGroupForumContainer... so the open/close js is trying to use the ID specific forum list...
can play around and see if we can use the first occurrence of the non unique class...
No, that wont work... that class of that div is determined by the theme... so cannot assume...
so the sp_SectionStart had the forumlist argument removed which is what was keyed on before...
I don't see this as the problem.
It looks like there is no data being returned - so this - in the spListView template:
In fact - I am seeing a fatal error here:
error log wrote
Fatal error: Uncaught Error: Call to undefined method stdClass::has_list()
The actual container in the display seems to populate correctly if you examine it.
Actually - the new post popup doesn't work and errors as well - uses the same code of course.
Seem to have traced the start of the problem to file: sp-ajax-newpostpopup.php line 33.
Not sure why or what is going on here - all new code. But...
has no value at all. Doesn't seem right...
certainly different behavior than i am seeing... I am not getting the error you see and the display on the container div was wrong...
suspect its a difference again of plugins vs no plugins... your unread post popup may provide the needed info... could be multiple instantiation like I was seeing with bootstrap...
ticket 0005752 fixes the issue you see with the list view object not existing, but it doesnt do anything for this issue... its still there...
the forum id on the forum list container is still missing... so the jquery has nothing to act on...
5.7.4 container looks like
6.0 container looks like:
This is of course for member support group (group id = 17)... sure looks like the section start is no longer putting that unique ID in there...
I think I have worked out why you are wrong here. As the ticket states - 'The open/close of newpost list'. That is nothing to do with what you are referring to which is the group/open/close control.
So - on the first - the new post listings - after changes you made last night this now works as expected.
On the open/close group control - this works on all themes except sp-reboot. I have not updated sp-reboot. I suppose largely because I do not use it locally at all.
|then this ticket just needs closing... no code changes with it...|
|2017-01-31 13:59||Yellow Swordfish||New Issue|
|2017-02-05 19:14||Mr Papa||Note Added: 0019183|
|2017-02-05 19:20||Mr Papa||Note Added: 0019184|
|2017-02-06 18:23||Yellow Swordfish||change_log_text||=> Group View - The open/close of newpost list seems to have ceased working|
|2017-02-06 18:23||Yellow Swordfish||Note Added: 0019189|
|2017-02-07 11:33||Yellow Swordfish||Note Added: 0019194|
|2017-02-07 11:34||Yellow Swordfish||Note Edited: 0019194||View Revisions|
|2017-02-10 23:58||Mr Papa||Note Added: 0019199|
|2017-02-11 00:39||Mr Papa||Note Added: 0019205|
|2017-02-11 10:16||Yellow Swordfish||Note Added: 0019206|
|2017-02-11 10:18||Yellow Swordfish||Assigned To||=> Mr Papa|
|2017-02-11 10:18||Yellow Swordfish||Status||new => testing|
|2017-02-11 15:38||Mr Papa||Note Added: 0019209|
|2017-02-11 15:38||Mr Papa||Status||testing => closed|
|2017-02-11 15:38||Mr Papa||Resolution||open => duplicate|
|2017-02-11 15:38||Mr Papa||change_log_text||Group View - The open/close of newpost list seems to have ceased working => closing as duplicate|
|2017-04-03 08:26||Yellow Swordfish||Fixed in Version||=> 6.0|
|2017-07-11 01:57||Mr Papa||Product Version||6.0 => 5.8|
|2017-07-11 01:58||Mr Papa||Fixed in Version||6.0 => 5.8|
|2017-07-11 01:58||Mr Papa||Target Version||6.0 => 5.8|