DB error on Postgre #82
Labels
No Label
Fixed
Confirmed
Fixed
Unconfirmed
Kind
Breaking
Kind
Bug
Kind
Deprecation issue
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Language
Kind
Security
Priority
High
Priority
Low
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Miqra-Engineering/moodle_local_treestudyplan#82
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
please review SQL queries and retest the plugin on Postgre, as I received an SQL exceptions during testing:
ERROR: operator does not exist: bigint = character varying
LINE 4: ...JOIN m_competency_coursecomp cc on cc.competencyid = p.value
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
SELECT DISTINCT b.id from m_badge b
INNER JOIN m_badge_criteria crit ON b.id = crit.badgeid
INNER JOIN m_badge_criteria_param p on p.critid = crit.id
INNER JOIN m_competency_coursecomp cc on cc.competencyid = p.value
WHERE cc.courseid = $1 AND crit.criteriatype = $2
[array (
0 => 4,
1 => 9,
)]
Error code: dmlreadexception