No Code Attached Yet bug
avatar acucyberman
acucyberman
13 Apr 2022

Steps to reproduce the issue

  1. create an article and include 'read more' break in article body; set user access level of article to 'registered'; assign article to a category
  2. create 'Category Blog' menu item for the category that was assigned to the article; under 'Options' set 'Un-Authorized Link' feature to 'Yes'
  3. create a Smart Search module, set your preferences (ie 'Menu Assignment', set 'Status' to 'Publish', etc). Set 'Access' level to 'Registered'. Save it.
  4. index site using the Smart Search component

Expected result

Smart Search results display article's title/ intro text. Guest users can click link in Smart Search results and taken to a preview of article title and intro text with 'read more' button that redirects Guest user to login/ register.

Actual result

Smart Search does not find article's title/ info, displays default alert message: 'Assuming %2$s, no results were found'. However the preview of article title and intro text with 'read more' button that redirects Guest user to login/ register is accessible to Guest users via the menu.

System information (as much as possible)

Joomla! Version Joomla! 4.1.2 Stable [ Kuamini ] 30-March-2022 16:00 GMT
PHP Version 7.4.28
PHP Built On Linux
Database Type mysql
Database Version 10.3.34-MariaDB
Database Collation latin1_swedish_ci
Database Connection Collation utf8mb4_general_ci
Database Connection Encryption None
Database Server Supports Connection Encryption No
Web Server LiteSpeed
WebServer to PHP Interface litespeed

Additional comments

avatar acucyberman acucyberman - open - 13 Apr 2022
avatar acucyberman acucyberman - change - 13 Apr 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 13 Apr 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 13 Apr 2022
avatar chmst chmst - change - 17 Feb 2023
Labels Added: bug
avatar chmst chmst - labeled - 17 Feb 2023
avatar peterhulst
peterhulst - comment - 19 Jan 2026

In Joomla 5.4.2 this is still not working. Restricted articles are indexed and visible in the index.
In the dropdown list with the search suggestions the term for the restricted article is also shown.
However the actual search gives no article found when logged in as a superuser.
For recent articles this works as expected, but for older articles not, see below

In further look I discovered the following:
Smart Search, Filters, Edit Filter, under Search By Category: not all available categories are on the list.
I tried with the settings of the categories (archived, published, restricted, public) but some categories will not be on the list.
This categories are also NOT found as described above.

Add a Comment

Login with GitHub to post a comment