Upgrade from 7.7.6 to 7.7.8: disappeared "edit" icon in Reports list view #1504

Closed
opened 2026-02-20 15:10:48 -05:00 by deekerman · 4 comments
Owner

Originally created by @Landver on GitHub (Nov 28, 2016).

Issue

After Upgrade of SuiteCRM, in Reports module list view "Edit" icon disappeared.

Expected Behavior

Here is example of code that suppose to be in that place (I took it from "Cases" as example):

<td width="2%" nowrap="">
<a title="Edit" id="edit-ba1d312a-47a1-cf91-f7de-5835af2ab586" href="index.php?module=Cases&amp;offset=1&amp;stamp=1480319609095201400&amp;return_module=Cases&amp;action=EditView&amp;record=ba1d312a-47a1-cf91-f7de-5835af2ab586">
<img src="themes/SuiteR/images/edit_inline.gif?v=CnO9Q1CanpVc5uz2UYIsvw" border="0" alt="edit"></a>
</td>

Actual Behavior

And here is what I have in Reports now:

<td width="2%" nowrap="">
</td>

So on the place where suppose to be clickable Edit Icon, I just see empty space.

Possible Fix

Edit source code maybe?

Steps to Reproduce

  1. Just upgrade SuiteCRM to 7.7.8

I didn't made any customization of that module, that can broke it works suddenly, so I think this is only happened because changes made by SalesAgility in versions 7.7.7 and 7.7.8
Btw, chmod -R 775 didn't solved the problem

Context

I think priority is low, because there is workaround: you can still edit Reports, but you must open Detail view, and from there you will have all options that you need in left up corner.

Your Environment

  • SuiteCRM Version used: 7.7.8
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Version 54.0.2840.99 m (64-bit)
  • Environment name and version (e.g. MySQL, PHP 7):
root@crm-server:~# dpkg --list |grep php
ii  libapache2-mod-php5                   5.6.27+dfsg-0+deb8u1                 amd64        server-side, HTML-embedded scripting language (Apache 2 module)
ii  php-pear                              5.6.27+dfsg-0+deb8u1                 all          PEAR - PHP Extension and Application Repository
ii  php5                                  5.6.27+dfsg-0+deb8u1                 all          server-side, HTML-embedded scripting language (metapackage)
ii  php5-cli                              5.6.27+dfsg-0+deb8u1                 amd64        command-line interpreter for the php5 scripting language
ii  php5-common                           5.6.27+dfsg-0+deb8u1                 amd64        Common files for packages built from the php5 source
ii  php5-curl                             5.6.27+dfsg-0+deb8u1                 amd64        CURL module for php5
ii  php5-gd                               5.6.27+dfsg-0+deb8u1                 amd64        GD module for php5
ii  php5-imagick                          3.2.0~rc1-1                          amd64        Provides a wrapper to the ImageMagick library
ii  php5-imap                             5.6.27+dfsg-0+deb8u1                 amd64        IMAP module for php5
ii  php5-intl                             5.6.27+dfsg-0+deb8u1                 amd64        internationalisation module for php5
ii  php5-json                             1.3.6-1                              amd64        JSON module for php5
ii  php5-mcrypt                           5.6.27+dfsg-0+deb8u1                 amd64        MCrypt module for php5
ii  php5-mysql                            5.6.27+dfsg-0+deb8u1                 amd64        MySQL module for php5
ii  php5-readline                         5.6.27+dfsg-0+deb8u1                 amd64        Readline module for php5
root@crm-server:~# dpkg --list |grep sql
ii  libaprutil1-dbd-sqlite3:amd64         1.5.4-1                              amd64        Apache Portable Runtime Utility Library - SQLite3 Driver
ii  libdbd-mysql-perl                     4.028-2+deb8u2                       amd64        Perl5 database interface to the MySQL database
ii  libhsqldb1.8.0-java                   1.8.0.10+dfsg-3                      all          Java SQL database engine
ii  libmysqlclient18:amd64                5.5.52-0+deb8u1                      amd64        MySQL database client library
ii  libsqlite3-0:amd64                    3.8.7.1-1+deb8u2                     amd64        SQLite 3 shared library
ii  mysql-client-5.5                      5.5.52-0+deb8u1                      amd64        MySQL database client binaries
ii  mysql-common                          5.5.52-0+deb8u1                      all          MySQL database common files, e.g. /etc/mysql/my.cnf
ii  mysql-server                          5.5.52-0+deb8u1                      all          MySQL database server (metapackage depending on the latest version)
ii  mysql-server-5.5                      5.5.52-0+deb8u1                      amd64        MySQL database server binaries and system database setup
ii  mysql-server-core-5.5                 5.5.52-0+deb8u1                      amd64        MySQL database server binaries
ii  php5-mysql                            5.6.27+dfsg-0+deb8u1                 amd64        MySQL module for php5
root@crm-server:~# dpkg --list |grep apac
ii  apache2                               2.4.10-10+deb8u7                     amd64        Apache HTTP Server
ii  apache2-bin                           2.4.10-10+deb8u7                     amd64        Apache HTTP Server (modules and other binary files)
ii  apache2-data                          2.4.10-10+deb8u7                     all          Apache HTTP Server (common files)
ii  apache2-doc                           2.4.10-10+deb8u7                     all          Apache HTTP Server (on-site documentation)
ii  apache2-utils                         2.4.10-10+deb8u7                     amd64        Apache HTTP Server (utility programs for web servers)

  • Operating System and version (e.g Ubuntu 16.04):
    Linux crm-server 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
Originally created by @Landver on GitHub (Nov 28, 2016). <!--- Provide a general summary of the issue in the **Title** above --> <!--- Before you open an issue, please check if a similar issue already exists or has been closed before. ---> #### Issue <!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug --> After Upgrade of SuiteCRM, in Reports module list view "Edit" icon disappeared. #### Expected Behavior <!--- Tell us what should happen --> Here is example of code that suppose to be in that place (I took it from "Cases" as example): ``` <td width="2%" nowrap=""> <a title="Edit" id="edit-ba1d312a-47a1-cf91-f7de-5835af2ab586" href="index.php?module=Cases&amp;offset=1&amp;stamp=1480319609095201400&amp;return_module=Cases&amp;action=EditView&amp;record=ba1d312a-47a1-cf91-f7de-5835af2ab586"> <img src="themes/SuiteR/images/edit_inline.gif?v=CnO9Q1CanpVc5uz2UYIsvw" border="0" alt="edit"></a> </td> ``` #### Actual Behavior <!--- Tell us what happens instead --> And here is what I have in Reports now: ``` <td width="2%" nowrap=""> </td> ``` So on the place where suppose to be clickable Edit Icon, I just see empty space. #### Possible Fix <!--- Not obligatory, but suggest a fix or reason for the bug --> Edit source code maybe? #### Steps to Reproduce 1. Just upgrade SuiteCRM to 7.7.8 I didn't made any customization of that module, that can broke it works suddenly, so I think this is only happened because changes made by SalesAgility in versions 7.7.7 and 7.7.8 Btw, `chmod -R 775` didn't solved the problem #### Context <!--- How has this bug affected you? What were you trying to accomplish? --> <!--- If you feel this should be a low/medium/high priority then please state so --> I think priority is low, because there is workaround: you can still edit Reports, but you must open Detail view, and from there you will have all options that you need in left up corner. #### Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * SuiteCRM Version used: 7.7.8 * Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Version 54.0.2840.99 m (64-bit) * Environment name and version (e.g. MySQL, PHP 7): ``` root@crm-server:~# dpkg --list |grep php ii libapache2-mod-php5 5.6.27+dfsg-0+deb8u1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii php-pear 5.6.27+dfsg-0+deb8u1 all PEAR - PHP Extension and Application Repository ii php5 5.6.27+dfsg-0+deb8u1 all server-side, HTML-embedded scripting language (metapackage) ii php5-cli 5.6.27+dfsg-0+deb8u1 amd64 command-line interpreter for the php5 scripting language ii php5-common 5.6.27+dfsg-0+deb8u1 amd64 Common files for packages built from the php5 source ii php5-curl 5.6.27+dfsg-0+deb8u1 amd64 CURL module for php5 ii php5-gd 5.6.27+dfsg-0+deb8u1 amd64 GD module for php5 ii php5-imagick 3.2.0~rc1-1 amd64 Provides a wrapper to the ImageMagick library ii php5-imap 5.6.27+dfsg-0+deb8u1 amd64 IMAP module for php5 ii php5-intl 5.6.27+dfsg-0+deb8u1 amd64 internationalisation module for php5 ii php5-json 1.3.6-1 amd64 JSON module for php5 ii php5-mcrypt 5.6.27+dfsg-0+deb8u1 amd64 MCrypt module for php5 ii php5-mysql 5.6.27+dfsg-0+deb8u1 amd64 MySQL module for php5 ii php5-readline 5.6.27+dfsg-0+deb8u1 amd64 Readline module for php5 ``` ``` root@crm-server:~# dpkg --list |grep sql ii libaprutil1-dbd-sqlite3:amd64 1.5.4-1 amd64 Apache Portable Runtime Utility Library - SQLite3 Driver ii libdbd-mysql-perl 4.028-2+deb8u2 amd64 Perl5 database interface to the MySQL database ii libhsqldb1.8.0-java 1.8.0.10+dfsg-3 all Java SQL database engine ii libmysqlclient18:amd64 5.5.52-0+deb8u1 amd64 MySQL database client library ii libsqlite3-0:amd64 3.8.7.1-1+deb8u2 amd64 SQLite 3 shared library ii mysql-client-5.5 5.5.52-0+deb8u1 amd64 MySQL database client binaries ii mysql-common 5.5.52-0+deb8u1 all MySQL database common files, e.g. /etc/mysql/my.cnf ii mysql-server 5.5.52-0+deb8u1 all MySQL database server (metapackage depending on the latest version) ii mysql-server-5.5 5.5.52-0+deb8u1 amd64 MySQL database server binaries and system database setup ii mysql-server-core-5.5 5.5.52-0+deb8u1 amd64 MySQL database server binaries ii php5-mysql 5.6.27+dfsg-0+deb8u1 amd64 MySQL module for php5 ``` ``` root@crm-server:~# dpkg --list |grep apac ii apache2 2.4.10-10+deb8u7 amd64 Apache HTTP Server ii apache2-bin 2.4.10-10+deb8u7 amd64 Apache HTTP Server (modules and other binary files) ii apache2-data 2.4.10-10+deb8u7 all Apache HTTP Server (common files) ii apache2-doc 2.4.10-10+deb8u7 all Apache HTTP Server (on-site documentation) ii apache2-utils 2.4.10-10+deb8u7 amd64 Apache HTTP Server (utility programs for web servers) ``` * Operating System and version (e.g Ubuntu 16.04): Linux crm-server 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
Author
Owner

@shogunpol commented on GitHub (Nov 28, 2016):

@Landver , may i ask about some additional information;
can you provide screenshot and highlight which icon you talk about?
and, did you set up right permissions?

@shogunpol commented on GitHub (Nov 28, 2016): @Landver , may i ask about some additional information; can you provide screenshot and highlight which icon you talk about? and, did you set up right permissions?
Author
Owner

@Landver commented on GitHub (Nov 28, 2016):

@shogunpol, yes of cource
how it looks on 7.7.6 version of SuiteCRM
1

how it looked on 7.7.8. Sorry, I deleted that copy, so I manually edited code of the page, to show you what I mean. Just keep in mind that "Edit" icon disappeared in all elements of module Reports, not only the first one(where I deleted code as example
2

Regarding permissions, that was the first thing that I checked. I think they are OK:
I put chmod -R 775 on the whole SuiteCRM folder with chown -R www-data:www-data

@Landver commented on GitHub (Nov 28, 2016): @shogunpol, yes of cource how it looks on 7.7.6 version of SuiteCRM ![1](https://cloud.githubusercontent.com/assets/15925657/20671677/fe028320-b586-11e6-9a3c-a5c8f315519d.PNG) how it looked on 7.7.8. Sorry, I deleted that copy, so I manually edited code of the page, to show you what I mean. Just keep in mind that "Edit" icon disappeared in all elements of module Reports, not only the first one(where I deleted code as example ![2](https://cloud.githubusercontent.com/assets/15925657/20671714/2a7ff43c-b587-11e6-89ec-5d10005d229e.PNG) Regarding permissions, that was the first thing that I checked. I think they are OK: I put `chmod -R 775` on the whole SuiteCRM folder with` chown -R www-data:www-data`
Author
Owner

@Landver commented on GitHub (Nov 29, 2016):

The best proof that you have the bug is your own Demo site
http://demo.suiteondemand.com/

You also have that bug there. Just create any report and you will see in list view that there is no edit icon.
And I forgit to mention that bug appear in "Suite R" theme, but doesn't appear in "Suite P" theme.

@Landver commented on GitHub (Nov 29, 2016): The best proof that you have the bug is your own Demo site http://demo.suiteondemand.com/ You also have that bug there. Just create any report and you will see in list view that there is no edit icon. And I forgit to mention that bug appear in "Suite R" theme, but doesn't appear in "Suite P" theme.
Author
Owner

@Dillon-Brown commented on GitHub (Sep 21, 2017):

Unable to replicate with later versions. Please re-open if this is still an issue you can replicate and provide clear steps for. Thanks.

@Dillon-Brown commented on GitHub (Sep 21, 2017): Unable to replicate with later versions. Please re-open if this is still an issue you can replicate and provide clear steps for. Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#1504
No description provided.