Closed (fixed)
Project:
Feeds Tamper
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Feb 2011 at 11:19 UTC
Updated:
10 Aug 2011 at 20:41 UTC
Right now, configured tamper plugins can be overwritten easily, because the primary key is only based on the id. From the current configuration logic I would suggest to also use importer, source and plugin_id (whould require changes to the load routines) or to automatically assign a more complex id using the items noted above.
Comments
Comment #1
digi24 commentedsorry, just noticed my mistake
Comment #2
digi24 commentedJust saw how machine_name works, so my suggestion would be to add the same logic to the manually entered Ids.
Suggestion attached:
Comment #3
twistor commentedNaming conventions do need some work. Also, the generated id's will cause problems sometimes when the generated names are too simplistic. Try adding two plugins of type change_case:uppercase. In most cases, that would be pointless anyway but the names need to be checked for conflict on creation and maybe append a number on the end. I'm definitely open to ideas. I like the idea of automatic generation for machine names but the fact that it doesn't work well across the board makes it messy.
Comment #4
twistor commentedThis is fixed. All machine names are converted to importer_id-source_element-plugin_id. Also, if an id conflicts, an error message is shown.