Skip to content

v4.0.37.13 fileset

Latest
Compare
Choose a tag to compare
@mc12345678 mc12345678 released this 04 May 02:37
· 2 commits to master since this release
  • Move logging of all actions to an admin controlled option by expanding the options of debug logging.
  • Simplified the use of mysql_ and mysqli_ commands to up front single use instead of throughout the core code. The functions file was not at this time modified to support this.
  • Refactored deep if statements to provide early escape or improved/simplified logic.
  • Provide user file evaluation information of newly uploaded file to prevent attempting to import a problematic file. This was added based on user feedback of attempting to import a file that would be prohibited if attempted from the selection list.
  • Added additional setting information to the main EP4 screen such as the primary key filter and the import filter for language dependent fields.
  • Added a dropdown option for exporting product that do not have a manufacturer assigned. This is expected to reduce the effort needed to obtain the same information by exporting all product and then removing those from the exported list that do not have a manufacturer assigned.
  • Corrected a typo associated with exporting Stock By Attributes (SBA) records sorted in ascending order.
  • Refactored code to reduce code duplication.
  • Flushed out the remainder of importing by language code (e.g. en, de, es)
  • Expanded the options of selecting the language dependent field to consider only fields of the selected type instead of the preference of the selected type. Enforcement occurs only when the selected import language identifier ends with the word 'only', otherwise if a field with both the language id and language code is present in the file, the code will choose from the one that is present. If the selected language identifier is not present but the other one is present, then it will select from what is available. E.g. if set to language_code, then a file that has a single version of the field and it has the language identifier ending _1, then that field will be used. If both _en and _1 are present then _en will be used. If only _en is present, then that will be used.
  • Replaced previous sanitization code segments with a single function to handle the processing instead of the repeated code necessary to sanitize each item.
  • Modified product type designation to assign a value of 1 only if the product type doesn't have a product type assigned and it is a new product. This is expected to support product retaining the product type originally assigned and/or assigning a new product type if so desired.
  • Added display output information for when artist name, category meta, music genre or record company name is empty/not being processed.
  • Resequenced code for artist name, music genre and record company name to support resizing the database field to support import of longer data than what was originally supported. Previously this would skip the imported item, make the size change and then require the data to be imported again.
  • Corrected the use of exiting externally addressed file processing such as record company name information by use of return instead of the previous use of continue. This will allow processing to continue beyond the call to such external file where previously processing would stop and the next record would be attempted.