tine-groupware / tine

tine groupware main repository
https://www.tine-groupware.de
GNU Affero General Public License v3.0
14 stars 2 forks source link

SQL Exception if module disabled #42

Closed mokraemer closed 3 months ago

mokraemer commented 7 months ago

The following exception is logged, if the sales module is not enabled:

ERR (3): Tinebase_Exception::logExceptionToLogger::135 Zend_Db_Statement_Exception -> SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tine.tine20_sales_contracts' doesn't exist, query was: DESCRIBE tine20_sales_contracts ERR (3): Tinebase_Exception::logExceptionToLogger::157 #0 .../vendor/zendframework/zendframework1/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute()

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 30 days with no activity. Comment or remove the stale label. Otherwise, it will be closed in 7 days.

mokraemer commented 6 months ago

this is still relevant

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 30 days with no activity. Comment or remove the stale label. Otherwise, it will be closed in 7 days.

mokraemer commented 5 months ago

still relevant

pschuele commented 4 months ago

hi @mokraemer , can you please give some more information?

I disabled Sales in my test-environment and don't see the error.

mokraemer commented 4 months ago

did u call php setup.php --update

pschuele commented 3 months ago

yes, called --update - but I still can't reproduce it (installed 2023.11, updated to main and ran --update)....

pschuele commented 3 months ago

see https://github.com/tine-groupware/tine/issues/56#issuecomment-2273216792