TODO #17091

getBlogsのエラー

Added by - garyuten about 5 years ago. Updated about 5 years ago.

Status:終了Start date:
Priority:急いでDue date:
Assignee:江頭 竜二% Done:

100%

Category:ブログ
Target version:4.0.5

Description

var_dump($this->BcBaser->getBlogs());

を実行すると以下のエラー

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Content.status' in 'where clause'

Error: An Internal Error Has Occurred.

Stack Trace

CORE/Baser/Model/Datasource/DboSource.php line 471 → PDOStatement->execute(array)
CORE/Baser/Model/Datasource/DboSource.php line 437 → DboSource->_execute(string, array)
CORE/Baser/Model/Datasource/DboSource.php line 679 → DboSource->execute(string, array, array)
CORE/Baser/Model/Datasource/DboSource.php line 1119 → DboSource->fetchAll(string, boolean)
CORE/Baser/Model/BcAppModel.php line 1450 → DboSource->read(BlogContent, array)
CORE/Baser/View/Helper/BcBaserHelper.php line 2519 → BcAppModel->find(string, array)
ROOT/theme/fukuoka8/Layouts/default.php line 38 → BcBaserHelper->getBlogs()
CORE/Cake/View/View.php line 971 → include(string)
CORE/Baser/View/BcAppView.php line 492 → View->_evaluate(string, array)
CORE/Cake/View/View.php line 933 → BcAppView->_evaluate(string, array)
CORE/Cake/View/View.php line 546 → View->_render(string)
CORE/Cake/View/View.php line 481 → View->renderLayout(string, string)
CORE/Cake/Controller/Controller.php line 963 → View->render(string, null)
CORE/Baser/Controller/PagesController.php line 329 → Controller->render(string)
[internal function] → PagesController->display(string)
CORE/Cake/Controller/Controller.php line 491 → ReflectionMethod->invokeArgs(PagesController, array)
CORE/Cake/Routing/Dispatcher.php line 193 → Controller->invokeAction(CakeRequest)
CORE/Cake/Routing/Dispatcher.php line 167 → Dispatcher->_invoke(PagesController, CakeRequest)
ROOT/index.php line 159 → Dispatcher->dispatch(CakeRequest, CakeResponse)

▼環境、バージョン
baserCMS 4.0.3をローカルにインストール
→ 4.0.4 にアップデート。

getBlogs() が4.0.3で動いていたかは未確認。


Associated revisions

Revision d45adad8
Added by 江頭 竜二 about 5 years ago

fix #17189,#17091 BcBaser::getBlogs() がDatabase Error となる問題を改善

History

#1 Updated by 江頭 竜二 about 5 years ago

  • Assignee set to 江頭 竜二
  • Target version changed from 4.0.4 to 4.0.5

確認しますね。

#2 Updated by 江頭 竜二 about 5 years ago

  • Status changed from 担当 to 解決
  • % Done changed from 0 to 100

更新履歴 basercms|commit:d45adad843d0b1dc50102ab90fcd180dd4b1e946 で適用されました。

#3 Updated by 江頭 竜二 about 5 years ago

  • Status changed from 解決 to 終了

Also available in: Atom PDF