ibaker Posted January 1, 2020 Posted January 1, 2020 I have suddenly found that in the activity streams the Condensed or Expanded view selection does not work i.e. you can't change from the default. This is on my own site AND also here on Invision plus it is not just me as my users on my own site are experiencing it. Windows 10, Firefox 71 Is anyone else experiencing this issue or know of what could be wrong...thanks Expanded view (Invision site default) Condensed View - still the same as Expanded
RevengeFNF Posted January 1, 2020 Posted January 1, 2020 I'm also experiencing the same. It happened the moment we went to 2020. Só I guess it's bug with the cookies.
ibaker Posted January 1, 2020 Author Posted January 1, 2020 I cleared out my cookies but still the same
Daniel F Posted January 1, 2020 Posted January 1, 2020 It's indeed a bug and we have a fix for this, but unfortunately due to holidays and our closure today I do not have an ETA for that at present and apologise for any inconvenience this issue has caused.
Sergey Pedan Posted January 1, 2020 Posted January 1, 2020 1 hour ago, Daniel F said: It's indeed a bug and we have a fix for this, but unfortunately due to holidays and our closure today I do not have an ETA for that at present and apologise for any inconvenience this issue has caused. Can you hint us with a solution if its not too complicated so we can apply the fix temporarily ourselves?
newbie LAC Posted January 1, 2020 Posted January 1, 2020 12 minutes ago, Sergey Pedan said: Can you hint us with a solution if its not too complicated so we can apply the fix temporarily ourselves? There is no easy way 1. Go to PMA 2. Run sql-query SELECT * FROM core_javascript WHERE javascript_name='ips.utils.cookie.js'; If the tables have a prefix add it 3. Click on javascript_content field 4. Find 1 Jan 2020 change 2020 to 2021 5. Save changes You can skip steps 2-5 and run sql-query UPDATE core_javascript SET javascript_content=REPLACE(javascript_content,'2020','2021') WHERE javascript_name='ips.utils.cookie.js'; 6. Clear the cache. ACP - System - Support - Something isn't working correctly
GTServices Posted January 1, 2020 Posted January 1, 2020 thank you @newbie LAC ... that was a quick fix 🙂
Square Wheels Posted January 1, 2020 Posted January 1, 2020 I have 3 sites. Oddly two are acting like above. The third is condensed and cannot be expanded.
AtariAge Posted January 1, 2020 Posted January 1, 2020 It's broken on two sites I run, and it's broken here as well. I changed the 2020 cookie expiration to 2021 in ips.utils.cookie.js and that fixed the issue. Thank you, @newbie LAC!
Clover13 Posted January 1, 2020 Posted January 1, 2020 Thank you @newbie LAC! For the sake of us true newbies understanding, how did you identify the cause/fix?
AtariAge Posted January 1, 2020 Posted January 1, 2020 2 minutes ago, pauldaytona said: So why a fixed date in code? Yeah, that's a really good question.
Genestoy Posted January 1, 2020 Posted January 1, 2020 Thanks newbie LAC the longer query worked just fine
DesignzShop Posted January 1, 2020 Posted January 1, 2020 2 hours ago, Clover13 said: Thank you @newbie LAC! For the sake of us true newbies understanding, how did you identify the cause/fix? There's a reason why I call him the King of Code!
ibaker Posted January 2, 2020 Author Posted January 2, 2020 Personally, I think this comes down to more than just the issue itself. It shows that there is a date that is hard stored in the IPS product. Now this is all well and good for those that have active licenses and thus the support that comes with it (like myself) but what about those who do not have active licenses? Perhaps they have refrained from renewing their licenses till a major update or perhaps they are just happy with what they already have as a site solution? However, their solution now has an end date in the effective use of some of its functionality which was not disclosed to them at the time of install. It is stated that they are allowed to use the solution without an active license but they are not advised that part(s) of the solution will self destruct at set dates. Did we not learn anything from Y2K? So now we come down to the ethics and morals of IPS management and staff? If they knew they had hard stored dates in their solution and did nothing to rectify this as it will force users to renew their licenses thus financial greed then we have a company that is extremely unethical providing us with a solution. However, this can not be proven from the outside looking in so a benefit of doubt must be given but doubt all the same. Now where morals come into and whether the company is morally fit I think will come down to how they address this hard stored date in their solution with all those that are still using IPS without a current active license. If IPS was to advise a solution to this issue with all previous license holders then it would be considered that IPS is morally fit and sound, if they don't then not only would they be seen as an immoral company but more strength is given to the doubt of whether they are an ethical company. You could in theory set up a server and install a version of IPS and leave it working as it was at the time of install in the same manner that it was intended to work at that time for years, that is what IPS provides for in its licensing agreement whether you have a current license or not, and as stipulated many times "You can continue to use IPS without a current license". Hard stored dates in a solution causing it to diminish in its capability and functionality is not acceptable and this type of 20thy century coding should not be tolerated in this 21st century unless it is clearly stated at the time of acquisition (i.e. 60 day trial etc). My 5c worth (that's 5c AUD inclusive of gst)
Management Lindy Posted January 2, 2020 Management Posted January 2, 2020 I'm sorry this has occurred. As cookies require expiration dates, a developer seemingly just picked 2020 as an arbitrary date as that javascript code was written several years ago and at that point, it seemed far enough in the future; unfortunately, it was just overlooked. Unfortunately, it happens; even the giants like Apple have had to push updates to fix date issues. The issue has of course been fixed and that expiration date is now generated and inserted based on current date + 1 year, which is standard practice now. We have also ensured there were no other "hardcoded" dates (there weren't.) @ibaker - I can appreciate your frustration and once again, I offer my sincerest apologies. With that said, I do respectfully think it's a leap to say the software (or even a portion there-of) "self-destructs" or has an "end-date" because a cookie has expired that simply controls a UI/stream preference. We certainly didn't do: if( date('Y') == '2020') { exit; } You are absolutely correct it shouldn't have occurred - but this is unfortunately no different than any other bug. The issue cannot be simply patched, unfortunately, as it requires an actual upgrade process to rebuild the javascript (v4.5 should allow us to correct JS issues without a full release.) We will, however, be releasing 4.4.9.2 to specifically address this first thing tomorrow (Thursday) morning. We never recommend manually manipulating the database, but if you are unable to upgrade for whatever reason, @newbie LAC's fix is suitable. An unfortunate way to ring in the New Year, but we appreciate your understanding.
DesignzShop Posted January 2, 2020 Posted January 2, 2020 5 hours ago, ibaker said: So now we come down to the ethics and morals of IPS management and staff? If they knew they had hard stored dates in their solution and did nothing to rectify this as it will force users to renew their licenses thus financial greed then we have a company that is extremely unethical providing us with a solution. However, this can not be proven from the outside looking in so a benefit of doubt must be given but doubt all the same. Now where morals come into and whether the company is morally fit I think will come down to how they address this hard stored date in their solution with all those that are still using IPS without a current active license. If IPS was to advise a solution to this issue with all previous license holders then it would be considered that IPS is morally fit and sound, if they don't then not only would they be seen as an immoral company but more strength is given to the doubt of whether they are an ethical company. 😲 OMG!! I've heard some stuff here over the years... but...
ibaker Posted January 2, 2020 Author Posted January 2, 2020 Thanks Lindy, yes I would have thought the code would have been something like Date() + 365 instead of hard coded which is the normal practice since Y2K...I just feel sorry for those that have not renewed their license for whatever reason that they have decided to be appropriate for them with decision making when planning out their site and its future. I was the director of a $260m Y2K program of work 20 years ago
RevengeFNF Posted January 2, 2020 Posted January 2, 2020 Official bug fix is out with version 4.4.9.2
DesignzShop Posted January 2, 2020 Posted January 2, 2020 32 minutes ago, Square Wheels said: Odd that it's not fixed here. Have you cleared your browser cache?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.