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

メインサイトでブログのエイリアスを作成すると、Blog->Posts()で呼び出された記事のURLがすべて1つ目のエイリアスのURLになってしまう問題 #3545

Open
katokaisya opened this issue Jun 24, 2024 · 0 comments
Assignees
Labels
Bug バグ

Comments

@katokaisya
Copy link
Collaborator

概要

再現手順

メインサイトにて /news/ ブログを作成する
メインサイトにて /news/ ブログから エイリアス /c_news/を作成する
トップページなどで、
$this->BcBaser->blogPosts('news');
などで記事一覧を呼び出す。
呼び出した記事のURLを
$this->Blog->getPostLinkUrl($post);
などで確認すると、
/news/ archives/{BlogPost.no}
ではなく
/c_news/ archives/{BlogPost.no}
となってしまいます。

baserCMS version : 5.0.11 で確認

katokaisya pushed a commit to katokaisya/basercms that referenced this issue Jun 24, 2024
@ryuring ryuring added the Bug バグ label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug バグ
Projects
None yet
Development

No branches or pull requests

2 participants