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

BlogHelper::testTagList のユニットテスト #3200

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

HungDV2022
Copy link
Collaborator

No description provided.

['/(?=\/tag\/tag1).*?(?!.*\/tag\/tag2).*?(?!.*\/tag\/tag3)/s', 'news'],
['/(?=\/tag\/tag1).*?(?=\/tag\/tag2).*?(?!.*\/tag\/tag3)/s', '/s/news/'],
['/(?=\/tags\/tag1).*?(?=\/tags\/tag2).*?(?=\/tags\/tag3)/s', null],
// ['/(?=\/tag\/タグ1).*?\(2\)/s', '/news/', ['postCount' => true]],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ryuring postCount = true場合、BlogHelper::_mergePostCountToTagsData()を呼ばれて下記のエラーメッセージを表示する

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'BlogContents.status' in 'where clause'
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'BlogContents.url' in 'where clause'
来週こちらに江頭さんと相談します。

@ryuring ryuring merged commit ca43a30 into baserproject:dev-5.1 Mar 13, 2024
1 check passed
@ryuring
Copy link
Collaborator

ryuring commented Mar 13, 2024

@HungDV2022 本体に不具合がありましたので、こちらのコミットで調整しました。
b0d47ee

@HungDV2022
Copy link
Collaborator Author

@HungDV2022 本体に不具合がありましたので、こちらのコミットで調整しました。 b0d47ee

ありがとうございます。勉強になりました。

@momofff momofff added this to the 5.1.0 milestone Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants