Skip to content

includeContent doesn't work when not logged in [pdoResources] #1

Description

@Jsewill

Сообщение об ошибке / Error message

N/A

Резюме / Summary

When using &includeContent=1, and `&select=`0 (default), while calling pdoResources, content is included while the user is logged into manager, but not included otherwise. Specifying &select=...,content`` causes it to be included while not logged in.

Шаг для воспроизведения / Step to play

Как воспроизвести проблему, включая пользовательский код, если это необходимо. / How to reproduce the problem, including custom code if needed

[[pdoResources? &includeContent=1 ... ]]

Наблюдаемое поведение / Observed behavior

Как она себя вела после следующих шагов выше. / How she behaved after the next steps above.

The content is included only when a user is logged into the modx manager.

Ожидаемое поведение / Expected behavior

Как это должно вести себя после следующих шагов выше. / How it should behave after following the steps above.

Content should be included when, &includeContent=1``, while &select is set to default (not specified or 0), whether or not the user is logged into the modx manager.

Environment

Версия miniShop2, версия MODX, Apache/Nginx и версия, версия mysql, браузер и т.д. Любая соответствующая информация. / MiniShop2 version, MODX version, Apache / Nginx and version, mysql version, browser, etc. Any relevant information.

modxcloud; php 7.4+, nginx (unknown version), modx 3.0.3-pl

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions