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

SQL Error in class.ext_update.php #49

Closed
albig opened this issue Apr 24, 2015 · 1 comment
Closed

SQL Error in class.ext_update.php #49

albig opened this issue Apr 24, 2015 · 1 comment
Labels
🐛 bug A non-security related bug.

Comments

@albig
Copy link
Collaborator

albig commented Apr 24, 2015

The following error is thrown in class.ext_update.php:

ERROR: Unknown column 'tx_dlf_metadata.xpath' in 'where clause'

The field 'xpath' doesn't exists. @sebastian-meyer: can we just remove this part of the query?

Background: This query is called on every access of the Extension Manager as of TYOPO3 6.2.12. The EM checks if the available update scripts have some update tasks to do. If not, the update icon is not shown.

@sebastian-meyer
Copy link
Member

The field tx_dlf_metada.xpath existed in earlier versions (< 1.2) of Goobi.Presentation. It has to be migrated when updating from such a version, that's why the update script checks the existence of the field.

@sebastian-meyer sebastian-meyer added the 🐛 bug A non-security related bug. label Apr 24, 2015
@sebastian-meyer sebastian-meyer added this to the Goobi.Presentation 1.3.1 milestone Apr 24, 2015
@albig albig closed this as completed in c2e2666 Apr 24, 2015
albig pushed a commit that referenced this issue Apr 24, 2015
fix #49: check existance of xpath field before querying
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug A non-security related bug.
Projects
None yet
Development

No branches or pull requests

2 participants