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

Cannot add Dashlet - 7.9.3-7.9.5 #4280

Closed
halest opened this issue Sep 19, 2017 · 12 comments
Closed

Cannot add Dashlet - 7.9.3-7.9.5 #4280

halest opened this issue Sep 19, 2017 · 12 comments
Labels
Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Type:Bug Bugs within the core SuiteCRM codebase

Comments

@halest
Copy link

halest commented Sep 19, 2017

Issue

Clicking "Add Dashlet" gives absolutely no reaction, not in frontend nor in console. Tested 7.9.3 to 7.9.5 on Firefox and Chrome.

Expected Behavior

Dashlet Chooser should be shown

Actual Behavior

No reaction

Possible Fix

Steps to Reproduce

  1. Login
  2. Click "Add Dashlet"
  3. No reaction

Context

My users keep asking me when this feature is available again.

Your Environment

  • SuiteCRM Version used:
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): FF 52, Chrome 62
  • Environment name and version (e.g. MySQL, PHP 7): MSSQL, PHP 7
  • Operating System and version (e.g Ubuntu 16.04): MS 2012R2
@ghost
Copy link

ghost commented Sep 19, 2017

I was just able to do so using SuiteCRM Version 7.9.5 in my Safari 1.1.2 browser.

@halest
Copy link
Author

halest commented Sep 19, 2017

@BeWiseLLC Thanks for your answer. I have investigated further and in the network analysis a request is sent which is responded with 200 and the Add-Dashlet HTML but nothing is shown in the frontend

@halest
Copy link
Author

halest commented Sep 19, 2017

Same in Safari for me

@Dillon-Brown Dillon-Brown added Type:Bug Bugs within the core SuiteCRM codebase Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds labels Sep 25, 2017
@ajedvaj
Copy link
Contributor

ajedvaj commented Nov 21, 2017

@halest are you trying to add dashlet for standard module or for custom module?

@halest
Copy link
Author

halest commented Nov 21, 2017

@ajedvaj Thanks for your response. I do not even get to that point as the click on the "Add Dashlet" button itself has no effect. So any module really.

@ajedvaj
Copy link
Contributor

ajedvaj commented Nov 21, 2017

@halest Oh, I understand. I don't have this issue on v7.9.4. on FF v57.
Since network shows that you get good response from server, maybe this will sound silly... but have you cleaned your browser cache?

@drosenfeldpositive
Copy link

drosenfeldpositive commented Nov 28, 2017

Hi,

This happens to me, only with custom modules.

If I check vthe apache error.log (in my case because i've apache web server), i get:

PHP Parse error: syntax error, unexpected '<', expecting identifier (T_STRING) in /var/www/html/crm/modules/OBJ_resultados/Dashlets/OBJ_resultadosDashlet/OBJ_resultadosDashlet.php on line 48, referer: http://crm.directo.com.ar/crm/index.php?module=Home&action=index

In my case, "OBJ_resultados" is my custom module.

So, the solution is:

Open file modules/CUSTOM_MODULE/Dashlets/CUSTOM_MODULEDashlet/CUSTOM_MODULEDashlet.php

And change
class <module_name > Dashlet
to
classCUSTOM_MODULE_NAMEDashlet

For example, in my case i changed it to:
class OBJ_resultadosDashlet

@drosenfeldpositive
Copy link

drosenfeldpositive commented Nov 28, 2017

Oh, sorry, I misunderstood your problem. I thought this was happening to you after selecting a module (custom module) under the Add Dashlet popup.
The solution I posted is for that.

@PedroErnst
Copy link
Contributor

@halest

Does the issue still persist for you?

@halest
Copy link
Author

halest commented Feb 9, 2018

@PedroErnst Yes but I reactivated the old layout where it works so for now my users are happy with it

@PedroErnst
Copy link
Contributor

@halest

Happy users are always good.

I'd still like to fix the issue if it is there though.

Can you reproduce on demo.suiteondemand.com ?

@Mac-Rae
Copy link
Contributor

Mac-Rae commented Dec 2, 2021

Appears to be sorted

@Mac-Rae Mac-Rae closed this as completed Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Type:Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

No branches or pull requests

6 participants