-
Notifications
You must be signed in to change notification settings - Fork 745
On Quote Create, Incorrect value detected. Please contact administrator #14729
Comments
I checked system.log file and found below details towards error, may be useful to track2021-05-27 09:10:59.5864 [info][yii\db\Connection::open] - Opening DB connection: mysql:host=localhost;dbname=yCRM;port=3306 |
currency in null [error] - ERR_ILLEGAL_FIELD_VALUE||currency|| |
Hi, please refer to code suggested in discussion, when I commented below code in squotes.php issue resolved. there is something wrong due to below code but commenting this has again reset discountmode and taxmode to Group Please assist to handle both regards |
a demonstration of what your data form looks like |
hello, do need to handle in js file as code suggest js file sets values on client side. please assist. regards |
Does the problem still exist in the newest version? |
I need to check will revert tomorrow |
@mariuszkrzaczkowski values are changed for dropdown list but it did not triggered change event for js file Jeevan Pendhari |
Please ignore my earlier post, in 6.4 functionality is working. |
🐞 bug report
We are creating Quote, every this is ok, but on save button click it throws below error
![image](https://user-images.githubusercontent.com/12723595/119639781-90fd5e00-be35-11eb-9dc2-06589866ca95.png)
#0 [info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost;dbname=yCRM;port=3306
#1 [info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM
vtiger_users
WHERE (id
=1) AND ((status
='Active') AND (deleted
=0)))#2 [info][yii\db\Command::query] SELECT * FROM
vtiger_tab
#3 [info][yii\db\Command::query] SELECT * FROM
vtiger_entityname
#4 [info][yii\db\Command::query] SELECT * FROM
vtiger_field
WHEREtabid
=89#5 [info][yii\db\Command::query] SELECT * FROM
vtiger_actionmapping
#6 [info][yii\db\Command::query] SELECT
vtiger_field
.* FROMvtiger_field
LEFT JOINvtiger_blocks
ON vtiger_field.block = vtiger_blocks.blockid WHEREvtiger_field
.tabid
=89 ORDER BYvtiger_blocks
.sequence
,vtiger_field
.sequence
#7 [info][yii\db\Command::query] SELECT * FROM
vtiger_blocks
WHEREblockid
=280 LIMIT 1#8 [info][yii\db\Command::query] SELECT * FROM
vtiger_blocks
WHEREblockid
=281 LIMIT 1#9 [info][yii\db\Command::query] SELECT * FROM
vtiger_blocks
WHEREblockid
=282 LIMIT 1#10 [info][yii\db\Command::query] SELECT * FROM
vtiger_blocks
WHEREblockid
=283 LIMIT 1#11 [info][yii\db\Command::query] SELECT * FROM
vtiger_blocks
WHEREblockid
=293 LIMIT 1#12 [info][yii\db\Command::query] SELECT DISTINCT
vtiger_field
.fieldid
,vtiger_field
.fieldname
,vtiger_field
.columnname
,vtiger_profile2field
.readonly
,vtiger_profile2field
.visible
FROMvtiger_field
INNER JOINvtiger_profile2field
ON vtiger_profile2field.fieldid = vtiger_field.fieldid WHERE ((vtiger_field
.tabid
=89) AND (vtiger_profile2field
.visible
=0) AND (vtiger_field
.visible
=0) AND (vtiger_field
.presence
IN (0, 2))) AND (vtiger_profile2field
.profileid
=1)#13 [info][yii\db\Command::query] SELECT * FROM
vtiger_ws_fieldtype
#14 [info][yii\db\Command::query] SELECT * FROM
u_yf_squotes_invfield
ORDER BYblock
,sequence
#15 [error][IllegalValue] purifyByType:
#16 [error] ERR_NOT_ALLOWED_VALUE||
App\Exceptions\IllegalValue: ERR_NOT_ALLOWED_VALUE|| in app\Purifier.php:468
Stack trace:
#0 app\Request.php(334): App\Purifier::purifyByType(false, 'Integer')
#1 app\Request.php(321): App\Request->purifyMultiDimensionArray('', 'Integer')
#2 app\Request.php(362): App\Request->purifyMultiDimensionArray(Array, Array)
#3 modules\Vtiger\models\Record.php(1286): App\Request->getMultiDimensionArray('inventory', Array)
#4 modules\Vtiger\actions\Save.php(135): Vtiger_Record_Model->initInventoryDataFromRequest(Object(App\Request))
#5 modules\Vtiger\actions\Save.php(97): Vtiger_Save_Action->getRecordModelFromRequest(Object(App\Request))
#6 modules\Vtiger\actions\Save.php(75): Vtiger_Save_Action->saveRecord(Object(App\Request))
#7 include\main\WebUI.php(189): Vtiger_Save_Action->process(Object(App\Request))
#8 index.php(28): Vtiger_WebUI->process(Object(App\Request))
#9 {main}
Till yesterday, Quote created were saving. Even previously created quote edit is still wroking
👎 Actual Behavior
Throws error
👍 Expected Behavior
Quote should save
👷 Testing
Quote Saves properly
📝 PHP/Apache/Nginx/Browser/CRM Logs
I am using XAMPP and not able to find CRM Logs folder. Do not know how to configure
The text was updated successfully, but these errors were encountered: