Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jsewill opened this issue Jul 11, 2023 · 0 comments
Open

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

Jsewill opened this issue Jul 11, 2023 · 0 comments
Labels

Comments

@Jsewill
Copy link

Jsewill commented Jul 11, 2023

Сообщение об ошибке / 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

@Jsewill Jsewill added the bug label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant