Inline edit 'member of' not working by keyboard typing values #9150
Labels
Area: Module
Issues & PRs related to modules that do not have specific label
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
The Account module has a 'Member of' field and this field doesn't save a value in 'Inline edit mode' if it was entered by keyboard typing and trying to save by using the "Enter" keyboard or click on accept icon
It only saves if we use 'popup' menu for selecting accounts...
Expected Behavior
It should save doesn't matter how a value was entered - by using 'popup menu' or manually typing
Actual Behavior
When trying to save using keyboard typing it saves nothing
I've created a topic on SuiteCRM Forum before and
pgr
compares two GET requests.The first one is which doesn't work (when we trying to keyboard typing )
GET
http://10.0.0.200/index.php?module=Home&action=saveHTMLField&field=parent_name¤t_module=Accounts&id=9f567952-3591-ec6d-f79e-60a410aa6b82&value=&view=DetailView&parent_type=&to_pdf=true
and the second one which works (it when we save with 'popup' menu)
GET
http://10.0.0.200/index.php?module=Home&action=saveHTMLField&field=parent_name¤t_module=Accounts&id=9f567952-3591-ec6d-f79e-60a410aa6b82&value=bbb8d630-82aa-9900-2d33-60a410dd8220&view=DetailView&parent_type=&to_pdf=true
and assumes
'The difference is that value variable not being set.
Have a look at everything mentioning “relate” in InlineEditing/inlineEditing.js
and function getRelateFieldJS in InlineEditing/InlineEditing.php'
https://community.suitecrm.com/t/inline-edit-not-working-using-enter/74356
All logs are empty
Possible Fix
pgr
suggest maybe something happened withand function getRelateFieldJS in InlineEditing/InlineEditing.php'
Steps to Reproduce
NOTE:
'Member of' is a one-to-mane SELF module relationship (for example this case it one-to-many relationship between Accounts and Accounts)
In my SuiteCRM I also copied kind of this functional to other my custom module and it all have the same issue
Your Environment
The text was updated successfully, but these errors were encountered: