ECI Version 6.4.7 Released   

Nov 15th, 2011 // In: Easy CSV Importer // By: Comments 0

There are no exciting changes.

Delete Table

  1. When we deleted a project table on the Finish page. The resulting message stated that the table could not be deleted, even though it had been. This has been corrected to display the correct message.
  2. Project data import history will be reset when deleting the project database table. There are circumstances this will not be the desired result but for most users it will be. This change now allows users to basically start all over again with their data import. Previously the project data importer progress would be kept and so even though we deleted the table. The plugin would behave as if the recorded statistic of imported record was still a fact.

Removed Widget One

In the earlier days I planned to provide a lot of cool widgets but there has been little or no demand for them. I still feel some of my ideas for widgets will make a lot of users realise they need them. For now however the code that created Widget One for Easy CSV Importer has been removed. The new CSV importer coming in 2012 will have widget support at some point but ECI will not. If the widgets in the new importer get used then I would still like to add some to ECI so this project is not over for sure.

ECI Log Function Bug

The function that writes log entries to the .txt log file also made changes to the $pro an $csv arrays. If not used correctly this function could undo any other changes made to $pro and $csv during a form submission for example. This is a design flaw and could have been the cause of more than one issue so I’m hoping some users see a very positive change.

Duplicate Records During Import Now Counted

There is a setting to allow duplicate records to be entered too the product database table. A duplicate is where every columns value for a record matches another record, even the slightest difference in one column would mean they are not duplicates. The new counter will store a statistics in relation to failed record imports. The term failed does not mean a plugin fault but simple the opposite to an inserted record. It is a total of all such records and the new statistic indicates how many of these failures are due to a CSV file row being a duplicate to a database table record. The statistic is stored in $pro as “rowsinsertfail_duplicate”.

Disable All Automated Ability

I added a constant to the eci_i_variables.php file that has the value “on” by default, allowing automatic abilities to happen as normal. Changing on too “off” will disabled the following abilities quickly no matter what plugin settings you have saved or what each of your project configurations are…

  • Automatic Data Import
  • Automatic Data Update
  • Automatic Post Creation
  • Automatic Post Update
Any campaign relying on these will normally be running on a staggered/spread-out project. The idea of this constant variable is for developers to quickly disable auto events while working on the plugin or for users who are not sure how to switch of automated actions they have possibly setup during initial testing
 The constant is named WP_EASYCSVIMPORTER_AUTOPILOT. I’m adopting the term auto-pilot from now on and it will be used a lot in my new plugin. It refers to the plugin being on auto-pilot and any events or actions while on auto-pilot are automated in response to a specific trigger. I’m not sure if that makes it sound more complicated but it will be far easier to understand when put together on the interface.

Leave a Reply

You must be logged in to post a comment.