? Success

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
2 Dec 2013

Issue

Try batch copy a category if

  • the category itself has subcategories
  • you also change the language or access level with the same batch process

This will fail with a fatal error in case of batchAccess or a lengthy error message in case of batchLanguage. The categories will be copied (sometimes even multiple times), but the access levels and languages are not correctly changed.

Bugtracking

The problem is that the table->reset() function didn't reset the _location and _location_id properties of the table. Thus subsequent stores tried to move the categories again, which failed due to wrong parent ids.

Fix

This PR adds JTableNested->reset() which will reset the locations (using $this->setLocation(0)) after the parent reset function was executed.

Fixes #2628
Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32827

avatar Bakual Bakual - open - 2 Dec 2013
avatar infograf768 infograf768 - reference | - 4 Dec 13
avatar infograf768 infograf768 - merge - 4 Dec 2013
avatar infograf768 infograf768 - close - 4 Dec 2013
avatar infograf768 infograf768 - change - 4 Dec 2013
Status New Closed
Closed_Date 0000-00-00 00:00:00 2013-12-04 15:01:57
Labels Added: ? ?
avatar infograf768 infograf768 - close - 4 Dec 2013
avatar Bakual Bakual - head_ref_deleted - 4 Dec 2013

Add a Comment

Login with GitHub to post a comment