April 20, 20179 yr Advanced Parameters->Configuration Information | LIST OF CHANGED FILES Missing files (4) /publichtml/classes/Discount.php /publichtml/classes/controller/AjaxController.php /publichtml/classes/controller/ModuleAjaxController.php /publichtml/classes/order/OrderDiscount.php Or not?
April 20, 20179 yr On an installation from the Git repository: sh $ ls classes/Discount.php classes/controller/AjaxController.php classes/controller/ModuleAjaxController.php classes/order/OrderDiscount.php ls: cannot access 'classes/Discount.php': No such file or directory ls: cannot access 'classes/controller/AjaxController.php': No such file or directory ls: cannot access 'classes/controller/ModuleAjaxController.php': No such file or directory ls: cannot access 'classes/order/OrderDiscount.php': No such file or directory Which means: these files aren't expected to exist. Looking into the repo history one can find this: https://github.com/thirtybees/thirtybees/commit/0335d82603d48d0edd7ad149dbe729f6b69d005c These files were removed on March 12th. Apparently is was forgotten to update the list of expected files.
April 20, 20179 yr This is simple: config/json/files.json is out of date. 4 files no longer exist, 221 files have changed. Not exactly a trust building situation :-)
April 20, 20179 yr The question arising is: when should this file receive updates? On every commit? On every bump of the release version? When creating a distribution package, creating this file on the fly?
April 20, 20179 yr News :-) files.json: while it's tracked in the Git repo, it also gets updated when creating a package. You, @atolodas , apparently run a development installation. Only four files missing. With an installation made from a package it's much worse, 46 files missing :-) Wrote a PHP version of the file generator (currently used is a JavaScript variant) and it turns out, both generators generate the same (except for sorting). Updating files.json in a developer installation gives a perfectly fine validation. So, what the heck? The hint for the next step in this adventure game is here: files.json generated in a developer installation is 387 lines. The one generated for a package is 1261 lines. These two versions are expected to be the same. Going bicycling now and when coming back I'll put these puzzle pieces together.
April 20, 20179 yr So I worked a full day for the trashcan. I thought it was clear that I'm working on this.
April 20, 20179 yr I created a generator using PHP, I also removed the file from the Git repo, I implemented nice messages for developers, where the file doesn't exist. And of course I triple-check code before providing it to the public.
April 20, 20179 yr Will melt down this work to align with what's now on master and pull request that tomorrow. Not everything lost :-)
April 23, 20179 yr The six remaining commits were accepted and are now on Git master. Thanks, @mdekker.
April 23, 20179 yr Is this topic solved? Please mark it as solved then, @atolodas. It's behind these three dots to the right of 'reply' and 'quote'. P.S.: actually I was wrong about this three-dot hamburger menu. Marking topics as resolved is in 'Topic Tools', rightmost in the series of buttons at the bottom of the first post.
April 23, 20179 yr @Traumflug - The three dots on the right also known as hamburger style (really weird) does not show an option to mark the Post solved. That may only be for administrators. I was able to mark something solved two months ago but not anymore
Create an account or sign in to comment