Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-2240

[Tacokit functions] Anti-collision mechanism not working as expected

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Work Item
    • Resolution: Won't Do
    • Minor
    • None
    • None
    • component-server
    • All
    • GreenHopper Ranking:
      0|i2iw03:
    • 9223372036854775807
    • Small

    Description

      As explained in the https://jira.talendforge.org/browse/TDP-10950 , we use the `avoidCollision` method from `component-runtime` when we need to add a Entry on the schema.

      Currently, we need to do a hack by using a custom prop on the Entry because the mechanism works :

      • The newEntry need to have at least one difference in the object
      • the rawName need to be set (sanitized by the Schema.withName(String name))

      Could you please analyze what's the need of this behavior and what can be done to have a real anti-collision method (not related to the framework common usage).

      The suggestion could be to move these parts before the anti collision method and not inside (to be confirmed).

      Thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            pgautier Pierre-Emmanuel Gautier
            emmanuel gallois
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: