Jump to content
thirty bees forum
  • 0

Missing files? Thirty bees version 1.0.1-beta.2


Question

Posted

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?

12 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

The question arising is: when should this file receive updates?

  1. On every commit?
  2. On every bump of the release version?
  3. When creating a distribution package, creating this file on the fly?
  • 0
Posted

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.

  • 0
Posted

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.

0_1492722621838_Fileckeck.png

And of course I triple-check code before providing it to the public.

  • 0
Posted

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.

  • 0
Posted

@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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...