mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 05:09:43 +02:00
parent
ad7fb51cfa
commit
2ee1166747
1557 changed files with 76832 additions and 47042 deletions
22
server/patches/waterline+0.15.2.patch
Normal file
22
server/patches/waterline+0.15.2.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
diff --git a/node_modules/waterline/lib/waterline/utils/query/forge-adapter-error.js b/node_modules/waterline/lib/waterline/utils/query/forge-adapter-error.js
|
||||
index 3d4a77f..07d09ad 100644
|
||||
--- a/node_modules/waterline/lib/waterline/utils/query/forge-adapter-error.js
|
||||
+++ b/node_modules/waterline/lib/waterline/utils/query/forge-adapter-error.js
|
||||
@@ -223,7 +223,7 @@ module.exports = function forgeAdapterError(err, omen, adapterMethodName, modelI
|
||||
|
||||
|
||||
// If there were any unmatched keys, log a warning and silently ignore them.
|
||||
- if (unmatchedKeys.length > 0) {
|
||||
+ /* if (unmatchedKeys.length > 0) {
|
||||
console.warn('\n'+
|
||||
'Warning: Adapter sent back a uniqueness error, but that error references key(s) ('+unmatchedKeys+') which cannot\n'+
|
||||
'be matched up with the column names of any attributes in this model (`'+modelIdentity+'`). This probably\n'+
|
||||
@@ -232,7 +232,7 @@ module.exports = function forgeAdapterError(err, omen, adapterMethodName, modelI
|
||||
'in uniqueness errors, then just use an empty array for the `keys` property of this error.)\n'+
|
||||
'(Proceeding anyway as if these keys weren\'t included...)\n'
|
||||
);
|
||||
- }//>-
|
||||
+ } */ //>-
|
||||
|
||||
|
||||
// Build the customizations for our uniqueness error.
|
Loading…
Add table
Add a link
Reference in a new issue