CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #7853

Major Feature #12563: Workspaces Support

Error when using together with Workspaces

Added by Mario Rimann about 3 years ago. Updated 11 months ago.

Status:Closed Start date:2010-05-20
Priority:Must have Due date:
Assignee:- % Done:

0%

Category:Index Queue
Target version:-
TYPO3 Version: Has patch:
PHP Version: Tags:
Votes: 0

Description

Modifying a tt_content record as a non-admin user causes the following error message:

Fatal error: Call to a member function ping() on a non-object in /var/www/vhosts/lung.ch/httpdocs/typo3conf/ext/solr/classes/class.tx_solr_garbagecollector.php on line 284

This occurs while trying to save the record the first time. Using the browser's back button and submitting the same change again works, but shows the following flash message:

1: [newlog()] Could not be edited in offline workspace in the branch where found (failure state: 'Online record was not in versionized branch!'). Auto-creation of version not allowed in workspace!

Any further modifications work as they should.

It seems that the Solr Extension's indexing queue conflicts with workspaces/versioning. Together with Markus Goldbach, a work-around was discussed and led to the attached patch from Markus. The patch seems to solve the problem.

class.tx_solr_garbagecollector.php.patch (3.8 kB) Mario Rimann, 2010-05-20 17:09

History

Updated by Ingo Renner almost 3 years ago

  • Target version changed from 1.1 to 2.0

Updated by Ingo Renner over 1 year ago

  • Target version deleted (2.0)

Updated by Olivier Dobberkau over 1 year ago

  • Status changed from New to Needs Feedback
  • Assignee set to Ingo Renner
  • Target version set to 2.5-dkd
  • Parent task set to #12563

There is another patch for workspaces #12563. You might close this issue here.

Updated by Ingo Renner over 1 year ago

  • Status changed from Needs Feedback to New
  • Assignee deleted (Ingo Renner)
  • Target version changed from 2.5-dkd to next (placeholder)

is this still valid?

Updated by Ingo Renner 11 months ago

  • Status changed from New to Closed
  • Target version deleted (next (placeholder))

closed, could not reproduce with current version

Also available in: Atom PDF