Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools
Board » General » No Last Post datas in Threads

Page: Previous 1 2

Yes, i'm see it
Updating thread information for test1
done updating thread information.
saved post / threadinformation: ThreadInformation object
[02/Feb/2008 16:17:39] "POST /forums/post/1/ HTTP/1.1" 302 0
don't worry be happy, bitch!
weird.. but you still see no 'last post' in the list of threads ?

could you again look into the table sphboard_threadinformation and paste me an example of a result to a query like: SELECT * FROM sphboard_threadinformation WHERE root_post_id = ... using some existing post id ..
Hey, we have Signatures !!! Great, isn't it ? ;)
mysql> SELECT * FROM sphboard_threadinformation WHERE root_post_id = 1;
+----+--------------+-------------+-------------+------+---------------------+--
------------+----------------+------------+------------+------------------------
+
| id | root_post_id | category_id | thread_type | heat | heat_calculated | s
ticky_value | latest_post_id | post_count | view_count | thread_latest_postdate
|
+----+--------------+-------------+-------------+------+---------------------+--
------------+----------------+------------+------------+------------------------
+
| 1 | 1 | 1 | 1 | -90 | 2008-02-02 15:50:13 |
0 | 1 | 1 | 3 | 2008-02-02 15:50:08
|
+----+--------------+-------------+-------------+------+---------------------+--
------------+----------------+------------+------------+------------------------
+
1 row in set (0.05 sec)
don't worry be happy, bitch!
Attachments
could you try the following setting:

SPH_SETTINGS['workaround_select_related_bug'] = True

it sounds like a similar problem.. but afaik this should already be fixed in django trunk .. but anyway .. it's worth a try ..
Hey, we have Signatures !!! Great, isn't it ? ;)
ok .. it seems my memory wasn't correct.. the bug is still not fixed in django trunk .. i just couldn't reproduce it because the default communitydraft settings file .. does indeed set this option:

from settings_local.py.tmpl:
# The workaround_select_related_bug is currently required in django trunk.
# See http://code.djangoproject.com/ticket/4789 (If this patch was committed,
# or you applied the patch manually you can disable this workaround to improve
# performance)
SPH_SETTINGS['workaround_select_related_bug'] = True


don't ask me why this simple patch wasn't applied yet in django..
Hey, we have Signatures !!! Great, isn't it ? ;)
Worked. Thanks for support!
don't worry be happy, bitch!
Alexsandr Isayko said @ 2008-01-31 13:05:22:
One more weakness i'm find when replying to thread - url of link "Board" is corrupt (http://127.0.0.1:8000/forums/reply/show/0/ instead http://127.0.0.1:8000/forums/show/0/)
seems to be a simple bug.. never noticed that before.. i have created an issue for it http://code.google.com/p/sct-project/issues/detail?id=87
FYI: this has been fixed in the latest SVN trunk.
Hey, we have Signatures !!! Great, isn't it ? ;)

Page: Previous 1 2

Please login to post a reply.



Powered by Sphene Community Tools