Last modified: 2010-08-28 13:05:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24532, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22532 - No interaction with newly opened discussion thread
No interaction with newly opened discussion thread
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
unspecified
Other Linux
: Normal major (vote)
: ---
Assigned To: Andrew Garrett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-15 18:14 UTC by Florian Helm
Modified: 2010-08-28 13:05 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Florian Helm 2010-02-15 18:14:28 UTC
I'm using the actual version of LiquidThreads (Revision 62532) on Mediawiki 1.15. This bug strikes me as similar to one DaSch has filed before but his bug report was closed as fixed. Sorry to say it isn't ;).

After starting a new thread (directly after a fresh LiquidThreads installation) on an previously empty discussion page any action regarding this new thread (edit, answer, delete) brings up the following two errors:

1.: in /*mywiki*/\extensions\LiquidThreads\classes\LqtHistoricalThread.php on line 27 PHP Fatal error: Call to a member function id() on a non-object

2.: in /*mywiki*/\extensions\LiquidThreads\classes\LqtHistoricalThread.php on line 46

This problem can be solved by applying the solution Janek provided on your Extension talk page:

    * Comment out lines 215 and 216 in LqtBaseView.php
    * Replace $t->replies with $this->replies in classes/LqtHistoricalThread.php
    * Insert

      if (!$tmt) { return; }

      in the same file after line 42
    * Insert

      if (!$thread) { return; }

      in classes/LqtThread.php after line 106

Of course I'd very much prefer to stay with the original code, but as I'm not into php there's no other choice right now.

Anyway, thanks a lot for LiquidThreads - my users love it!
Regards, Florian
Comment 1 Andrew Garrett 2010-06-24 17:57:20 UTC
Does this still happen? Does it work on MediaWiki 1.16?
Comment 2 Andrew Garrett 2010-08-28 13:05:03 UTC
Stale bug, unable to reproduce. Likely an incompatibility between LiquidThreads' 1.16 branch and MediaWiki 1.15.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links