Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

piperename with numeric indexes are order dependent #22

Open
thwarted opened this issue Jul 24, 2013 · 1 comment
Open

piperename with numeric indexes are order dependent #22

thwarted opened this issue Jul 24, 2013 · 1 comment

Comments

@thwarted
Copy link
Contributor

pipe 11278a7cb21e7964282dfe9a46f38837

I have a rename yahoo pipes module that looks like:

item.p.span.0 Rename title
item.p.span.1 Rename description

p.span has two children. These are evaluated in this order, and because this is a rename, p.span.0 gets deleted after being assigned to title. As this is a list, the list length decreases by one, causing the rename of p.span.1 to fail because there isn't a p.span.1 after the deletion, there's only p.span.0.

yahoo's rename module seems to handle this. I guess a work around is to reorder the renames so that the highest numbered one in each group is done first, so only the last item in the list is deleted, keeping the later indexing consistent.

@reubano
Copy link
Contributor

reubano commented Nov 9, 2014

I just made a bunch of updates, can you check and see if the issue is still there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants