question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Split Nodes Plugin always adding Correlation between the split nodes

See original GitHub issue

Prerequisites

Description

When running the Split Nodes plugin, the transaction type created between the nodes is always a Correlation regardless of what is actually selected

Steps to Reproduce

  1. Draw 2 nodes and draw a transaction between them
  2. Rename one of the nodes to ‘abc;def;ghi’
  3. Open up Data Access View and go to Split Nodes plugin
  4. Set the split character as ‘;’ and the transaction type to any type other than a Correlation
  5. Ensure the renamed node is selected and run the plugin

Expected behaviour: The transaction(s) formed from the plugin are of the type selected for the Transaction Type parameter

Actual behaviour: The transaction(s) formed from the plugin are of the type Correlation

Reproduces how often: 100%

Additional Information

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
Auriga2commented, Jul 30, 2020

It has a similar code, so if the “Content” is there in the drop down, it’ll use “Content” instead of the user selected value. I’ll add a check there as well.

1reaction
Auriga2commented, Jul 29, 2020

@arcturus2 : This is due to the below code from SplitNodesPlugin.java Therefor if “Correlation” exists in the list, it’ll overwrite the selection.

        if (types.contains(AnalyticConcept.TransactionType.CORRELATION.getName())) {
            SingleChoiceParameterType.setChoice(transactionType, AnalyticConcept.TransactionType.CORRELATION.getName());
        }

What is the exact behaviour required here? May be default it only if no value is selected?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatically adding nodes to vertices on lines using QGIS
Hi there, i'm assuming "to add node" means the add node function as the answer below after split lines with lines tool is...
Read more >
Node.js SDK - Split Help Center
This guide provides detailed information about our Node.js SDK. All of our SDKs are open source. Go to our Node.js SDK GitHub repository......
Read more >
Guide - Splitting
The Splitting fucntion always returns an array of objects with the following properties based on plugin name, giving you access to each element's...
Read more >
An Introduction to Recursive Partitioning Using the RPART ...
The number of nodes is always 1 + the number of splits. • For easier reading, the error columns have been scaled so...
Read more >
Split index API | Elasticsearch Guide [8.5] | Elastic
Default: 1, the primary shard. See Active shards. master_timeout: (Optional, time units) Period to wait for a connection to the master node.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found