User tests: Successful: Unsuccessful:
This is the PR for the issue #7711.
1) Have smart search enabled incl. "categories" finder plugin
2) Edit a category: change title/alias/description, but do not touch state or access. Save.
3) Search for a relevant keyword to get this category in search results
Updated title/alias/description of the category in search result
Old title/alias/descriptipon
I believe a closing bracket should be moved from line 136 to line 133 in categories.php finder plugin.
if (!$isNew && $this->old_access != $row->access)
{
// Process the change.
$this->itemAccessChange($row);
// Reindex the category item.
$this->reindex($row->id);
}
to become
if (!$isNew && $this->old_access != $row->access)
{
// Process the change.
$this->itemAccessChange($row);
}
// Reindex the category item.
$this->reindex($row->id);
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Easy | No | ⇒ | Yes |
Category | ⇒ | Plugins |
@test unfortunately even after I apply the patch, the old data is shown in search result, here are the steps I followed:
@watchfulli-dev did you enable the "Content - Smart Search" Plugin? Bevor you change something?
@watchfulli-dev After you have applied the patch you need to resave the category.
hmm can you check the backend view?
I can't reproduce this issue after applying this patch ;)
And if i change the category in the backend i can see the changes that gets applyed to the frontend as well ;)
I guess the other smart seach plugin (Smart Search - Categories
) is enabled as well ;)
@test Okay that worked now if I re-save category after applying the patch
Status | Pending | ⇒ | Ready to Commit |
Yes that is required as the plugin event run on saving ;) RTC'ing than. Thanks @watchfulli-dev and @laoneo !
Labels |
Added:
?
|
Milestone |
Added: |
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-08-26 16:43:03 |
Closed_By | ⇒ | wilsonge |
Labels |
Removed:
?
|
Merged into staging! Thanks!
Tested successfull. Thanks @laoneo
@tgv604 can you also test here? If you need help let me know. The quick step testing docu can be found here: https://docs.joomla.org/Testing_Joomla!_patches
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7769.