[Skip to main content](#vessel-content)

#   disappearing widgets using table view

##

- **[Udo](/forum/user/29928-udo "View Udo's Profile")**
- [![Udo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29928-udo "View Udo's Profile") Topic Author
- [ Offline](/forum/user/29928-udo)

Less More

- Posts: 220
- Thank you received: 8
-
-
-

10 years 2 months ago [\#249596](#249596) by [Udo](/forum/user/29928-udo "View Udo's Profile")  *[disappearing widgets using table view](/forum/36-reports-statistics/886369-disappearing-widgets-using-table-view#249596 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2  Hi,  Untill recently I ignored the reports on the dashboard. Now I started using them. I noticed an issue while editing table widgets (like the standard Main statistics).  Sometimes they disappear. Suddenly they are gone from the dashboard and from the reports listing. This might happen after saving the widget (but not always), but once a widget was gone without anyone changing it.  They are not deleted or depublished. These widgets still are in the dbase table hikashop&#95;widget. However the column widget&#95;access is empty. Other widgets have 'all' in the column widget&#95;access. After adding 'all' to this column, these missing widgets show again  Apparently somehow the value 'all' gets lost. This has happened in Hikashop 2.6.3 (Joomla 3.6.2) and Hikashop 2.3.3 (Joomla 2.5.28).  Is this a bug, or did I do something wrong?  regards, Udo")* was created by *[Udo](/forum/user/29928-udo "View Udo's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2

Hi,

Untill recently I ignored the reports on the dashboard. Now I started using them.
I noticed an issue while editing table widgets (like the standard Main statistics).

Sometimes they disappear. Suddenly they are gone from the dashboard and from the reports listing. This might happen after saving the widget (but not always), but once a widget was gone without anyone changing it.

They are not deleted or depublished. These widgets still are in the dbase table hikashop_widget. However the column widget_access is empty. Other widgets have 'all' in the column widget_access.
After adding 'all' to this column, these missing widgets show again

Apparently somehow the value 'all' gets lost.
This has happened in Hikashop 2.6.3 (Joomla 3.6.2) and Hikashop 2.3.3 (Joomla 2.5.28).

Is this a bug, or did I do something wrong?

regards,
Udo

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODYzNjktZGlzYXBwZWFyaW5nLXdpZGdldHMtdXNpbmctdGFibGUtdmlldz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

10 years 2 months ago -  10 years 2 months ago [\#249604](#249604) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[disappearing widgets using table view](/forum/36-reports-statistics/886369-disappearing-widgets-using-table-view#249604 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2  Hi,  Untill recently I ignored the reports on the dashboard. Now I started using them. I noticed an issue while editing table widgets (like the standard Main statistics).  Sometimes they disappear. Suddenly they are gone from the dashboard and from the reports listing. This might happen after saving the widget (but not always), but once a widget was gone without anyone changing it.  They are not deleted or depublished. These widgets still are in the dbase table hikashop&#95;widget. However the column widget&#95;access is empty. Other widgets have 'all' in the column widget&#95;access. After adding 'all' to this column, these missing widgets show again  Apparently somehow the value 'all' gets lost. This has happened in Hikashop 2.6.3 (Joomla 3.6.2) and Hikashop 2.3.3 (Joomla 2.5.28).  Is this a bug, or did I do something wrong?  regards, Udo")*

Hello,

We are unable to reproduce your issue... Can you provide some **backend references** in order to process some tests ?

**Note :** You can use our [ **Contact us**](https://www.hikashop.com/support/contact-us.html) form in order to provide access references, don't forget to add in your message an **Url link to this topic**.

Awaiting news from you.

Regards

Last edit: 10 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODYzNjktZGlzYXBwZWFyaW5nLXdpZGdldHMtdXNpbmctdGFibGUtdmlldz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Udo](/forum/user/29928-udo "View Udo's Profile")**
- [![Udo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29928-udo "View Udo's Profile") Topic Author
- [ Offline](/forum/user/29928-udo)

Less More

- Posts: 220
- Thank you received: 8
-
-
-

10 years 1 month ago -  10 years 1 month ago [\#249939](#249939) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[disappearing widgets using table view](/forum/36-reports-statistics/886369-disappearing-widgets-using-table-view#249939 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2  Hi,  Untill recently I ignored the reports on the dashboard. Now I started using them. I noticed an issue while editing table widgets (like the standard Main statistics).  Sometimes they disappear. Suddenly they are gone from the dashboard and from the reports listing. This might happen after saving the widget (but not always), but once a widget was gone without anyone changing it.  They are not deleted or depublished. These widgets still are in the dbase table hikashop&#95;widget. However the column widget&#95;access is empty. Other widgets have 'all' in the column widget&#95;access. After adding 'all' to this column, these missing widgets show again  Apparently somehow the value 'all' gets lost. This has happened in Hikashop 2.6.3 (Joomla 3.6.2) and Hikashop 2.3.3 (Joomla 2.5.28).  Is this a bug, or did I do something wrong?  regards, Udo")*

Hi Philip,

I understand this isnot a known problem.
Reproducing might be difficult since the disappearance does not occur always, only occasionally.

My suggestion is I'll carefully examine the situations where the problem arises. Maybe I get a clue what triggers the disappareance.
I'll post again as soon as I have extra information.

STOP PRESS, HOT NEWS: RESULT OF SOME RESEARCH:
I've discovered when the problem always occurs (also on the Hikashop demosite).
- Open a report and choose table type.
- Add a table and click OK in the popup.
- Then: navigate to Orders/Reports WITHOUT SAVING
- Now this report is gone from the listing. In the dbase the column widget_access is empty.
- After adding 'all' to the empty dbase column the report is back again (and the newly added table is present).

I usually don't forget to save after making changes, but in this situation I'm afraid I sometimes do.
This is probably caused by clicking the button OK in the popup. After that the table statistic is visible and one is tempted to think: okay, it's done. Quickly go to the dashboard to see the result.

Often when one forgets to save a Joomla item, the changes are lost. However In this special case there is a punishment: the changes are applied but the item is lost.
Perhaps you can find a way to prevent this happening.

Regards,
Udo

Last edit: 10 years 1 month ago by [Udo](/forum/user/29928-udo "View Udo's Profile"). Reason: New information

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODYzNjktZGlzYXBwZWFyaW5nLXdpZGdldHMtdXNpbmctdGFibGUtdmlldz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

10 years 1 month ago [\#250162](#250162) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[disappearing widgets using table view](/forum/36-reports-statistics/886369-disappearing-widgets-using-table-view#250162 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2  Hi,  Untill recently I ignored the reports on the dashboard. Now I started using them. I noticed an issue while editing table widgets (like the standard Main statistics).  Sometimes they disappear. Suddenly they are gone from the dashboard and from the reports listing. This might happen after saving the widget (but not always), but once a widget was gone without anyone changing it.  They are not deleted or depublished. These widgets still are in the dbase table hikashop&#95;widget. However the column widget&#95;access is empty. Other widgets have 'all' in the column widget&#95;access. After adding 'all' to this column, these missing widgets show again  Apparently somehow the value 'all' gets lost. This has happened in Hikashop 2.6.3 (Joomla 3.6.2) and Hikashop 2.3.3 (Joomla 2.5.28).  Is this a bug, or did I do something wrong?  regards, Udo")*

Hi,

Thank you for the detailed report.
If you add the line:
if(empty($widget-&gt;widget_access)) $widget-&gt;widget_access = 'all';
after the line: Code:

$widget-&gt;widget_access=$safeHtmlFilter-&gt;clean(strip_tags($formData['widget']['widget_access']), 'string');

in the file administrator/components/com_hikashop/classes/widget.php does that fix the issue ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODYzNjktZGlzYXBwZWFyaW5nLXdpZGdldHMtdXNpbmctdGFibGUtdmlldz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Udo](/forum/user/29928-udo "View Udo's Profile")**
- [![Udo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29928-udo "View Udo's Profile") Topic Author
- [ Offline](/forum/user/29928-udo)

Less More

- Posts: 220
- Thank you received: 8
-
-
-

10 years 1 month ago [\#250206](#250206) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[disappearing widgets using table view](/forum/36-reports-statistics/886369-disappearing-widgets-using-table-view#250206 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2  Hi,  Untill recently I ignored the reports on the dashboard. Now I started using them. I noticed an issue while editing table widgets (like the standard Main statistics).  Sometimes they disappear. Suddenly they are gone from the dashboard and from the reports listing. This might happen after saving the widget (but not always), but once a widget was gone without anyone changing it.  They are not deleted or depublished. These widgets still are in the dbase table hikashop&#95;widget. However the column widget&#95;access is empty. Other widgets have 'all' in the column widget&#95;access. After adding 'all' to this column, these missing widgets show again  Apparently somehow the value 'all' gets lost. This has happened in Hikashop 2.6.3 (Joomla 3.6.2) and Hikashop 2.3.3 (Joomla 2.5.28).  Is this a bug, or did I do something wrong?  regards, Udo")*

Yeah, this hack helps!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84ODYzNjktZGlzYXBwZWFyaW5nLXdpZGdldHMtdXNpbmctdGFibGUtdmlldz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.055 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
