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

Suggestions Box is not showhingin version 8 for cases. #170

Open
BSZ44 opened this issue Oct 20, 2022 · 15 comments
Open

Suggestions Box is not showhingin version 8 for cases. #170

BSZ44 opened this issue Oct 20, 2022 · 15 comments
Labels
Area: Cases Issues & PRs related to all things regarding the Cases Module Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds Type: Bug Something isn't working

Comments

@BSZ44
Copy link

BSZ44 commented Oct 20, 2022

Issue

I've just installed version 8
I've created some knowledgebases
When I open a case, there is no box for suggestions and when I type a subject nothing happens. Of course it used to work like a breeze in 7.xx
I get the same result when trying to reproduce the operation on the suiteCRM 8 demo site

Expected Behavior

A list of suggestions based on relevant knowledgebases should appear on the cases form

Actual Behavior

nothing

Possible Fix

Steps to Reproduce

Context

I cannot use version 8 as most of our activity will be cases management high as far as I'm concerned

Your Environment

  • SuiteCRM Version used: version 8.2

  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Version 106.0.5249.119 (Build officiel) (64 bits) and Microsoft Edge Version 106.0.1370.42 (Official build) (64-bit)

  • Environment name and version (e.g. MySQL, PHP 7): PHP Version 7.4.29 ; 10.4.24-MariaDB - mariadb.org binary distribution

  • Operating System and version (e.g Ubuntu 16.04): Windows NT WL-HT90GB3 10.0 build 19043 (Windows 10) AMD64

System Windows NT WL-HT90GB3 10.0 build 19043 (Windows 10) AMD64
Build Date Apr 12 2022 20:18:04
Compiler Visual C++ 2017
Architecture x64
Configure Command cscript /nologo /e:jscript configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared" "--with-oci8-12c=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--without-analyzer" "--with-pgo"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path no value
Loaded Configuration File C:\xampp\php\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20190902
PHP Extension 20190902
Zend Extension 320190902
Zend Extension Build API320190902,TS,VC15
PHP Extension Build API20190902,TS,VC15
Debug Build no
Thread Safety enabled
Thread API Windows Threads
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams php, file, glob, data, http, ftp, zip, compress.zlib, compress.bzip2, https, ftps, phar
Registered Stream Socket Transports tcp, udp, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters convert.iconv., string.rot13, string.toupper, string.tolower, string.strip_tags, convert., consumed, dechunk, zlib.*,
@pgorod
Copy link
Contributor

pgorod commented Oct 20, 2022

Wasn't that just your browser's Autofill feature giving you things you had previously typed in that field?

@BSZ44
Copy link
Author

BSZ44 commented Oct 20, 2022

The suggestion box dynamically displays suggestion in a non-editable field based on the information typed in the subject field. Basically , relevant knowledgebases are dynamically displayed as depicted here
image

@pgorod
Copy link
Contributor

pgorod commented Oct 21, 2022

Sorry, I didn't even know about that feature, never used KB...

But I just tried on the Suite 8 demo and it works.

You should fill the details of "Your environment" properly on this Issue - this makes it easier to try and replicate more accurately.

I suggest trying a different browser to see if it makes any difference. And check the browser's developer console for any errors.

Thanks

@BSZ44
Copy link
Author

BSZ44 commented Oct 24, 2022

Hi Pgorod,

I've tried again with Edge, Mozilla and Chrome. Still unlucky both on my local instance and on the SuiteCRM 8 demo site
No error detected on the dev console

@pgorod
Copy link
Contributor

pgorod commented Oct 24, 2022

It's strange that you can't see it working on the Demo site.... Please give me your specific steps to reproduce: I want to see it with your exact steps, using the same KB article names, typing the same search text , etc

Thanks

@BSZ44
Copy link
Author

BSZ44 commented Oct 24, 2022

Hi pgorod,

we can see on this screenshot (from the demo site) that there is no chance the interface will work considering that there is no "suggestions" field
image

Basically I'm just creating a couple of knowledgebases with some random text. IT works pretty fine on V7 but not at all on V8.X (I've tried all V 8.X versions ) , nor does it work on the demo site.
For instance one kb with ATM for title and the second one with BPM. In V7 when I type either of these names the corresponding KB appears.

By the way, I've also tried the same operation on the demo site from a tablet, to no avail

@pgorod
Copy link
Contributor

pgorod commented Oct 25, 2022

The suggestion box only appears after you type a few characters and move the cursor outside the subject field... but it works. (on the v8 demo)

@BSZ44
Copy link
Author

BSZ44 commented Oct 26, 2022

Hi pgorod,

That's exactly what I'm doing. I've tried that again today both on the suite8 demo and on my local ptf, both on with Edge and Chrome. It still doesn't work for me.

@likhobory
Copy link

Hi @pgorod

The suggestion box only appears after you type a few characters and move the cursor outside the subject field... but it works. (on the v8 demo)

I also can't confirm this. It works on v.7.10, but it doesn't work on v.8 - tested on v.8 demo and on my local VM (v.8.2.0.b2 on Ubuntu 22 / php 8.0.20)
On the v.8 the 'suggestion' field is not displayed.

FF 105 / Edge

@pgorod
Copy link
Contributor

pgorod commented Oct 26, 2022

This is really weird. I'm on Firefox latest... But @likhobory also tried Firefox... I'm confused

Do you guys have any antivirus or JavaScript blockers that could be preventing some code from running?

@likhobory
Copy link

Yes, I use anivirus and uBlock ext. in FF, but they has been disabled during testing, in any case this feature works on v.7 as expected.
Very strange,. perhaps we are testing different things? Pedro, can you pls add your screenshot here?

@pgorod
Copy link
Contributor

pgorod commented Oct 26, 2022

Sorry, my bad. I was looking at the v7 demo, thinking I was in the v8. I confirm that on v8 the Suggestion field does not exist.

@BSZ44
Copy link
Author

BSZ44 commented Nov 4, 2022

Hello pgorod,

the Suggestion field exists when looking at the Cases module in Studio. In labels as well as in layout. There seems to be a glitch with the deployment which does not effect the changes made in studio. The js code for the suggestion logic is not delivered in the various js files as it is in version 7. Maybe this can help you track the issue ?

@pgorod
Copy link
Contributor

pgorod commented Nov 4, 2022

I guess this was just something that was left out, forgotten, when the new UI was built. You see it in Studio because Studio is back-end and just changes vardefs. But on the UI, it's not the plain record view UI of other modules, it's a special feature of Cases module... and the new screens don't seem have it yet.

@BSZ44
Copy link
Author

BSZ44 commented Nov 4, 2022

Try to deploy a change made in studio on the edit layout. It doesn't work for me. I can add and deploy the suggestion box only when I change the detailed view, which is not the way it is supposed to behave.

@johnM2401 johnM2401 added Type: Bug Something isn't working Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds Area: Cases Issues & PRs related to all things regarding the Cases Module labels Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Cases Issues & PRs related to all things regarding the Cases Module Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants