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

Regression: String indexing broken in Dynamo 2.0.x #9383

Closed
dimven opened this issue Jan 8, 2019 · 4 comments
Closed

Regression: String indexing broken in Dynamo 2.0.x #9383

dimven opened this issue Jan 8, 2019 · 4 comments
Labels
2.x Issues related to 2.x versions of Dynamo. bug priority Related to a release.

Comments

@dimven
Copy link
Contributor

dimven commented Jan 8, 2019

Dynamo version

2.0.2

Operating system

Windows 10

What did you do?

tried to get the substring from a string object

What did you expect to see?

the substring

What did you see instead?

the entire string again

It seems the string is automatically promoted to a list whenever you tryto use list indexing notation?

image

This worked perfectly fine in previous versions. I can remember using string indexing as far back as 0.8:

image

@johnpierson johnpierson added bug priority Related to a release. 2.x Issues related to 2.x versions of Dynamo. labels Jan 8, 2019
@mjkkirschner
Copy link
Member

@aparajit-pratap will your current task address this?

@johnpierson
Copy link
Member

I wanted to reference the dynamo forum post here as well, https://forum.dynamobim.com/t/more-feet2fraction-issues/22408/11

@aparajit-pratap
Copy link
Contributor

Yes, there's a current task for this filed internally: https://jira.autodesk.com/browse/DYN-995. It was a regression after the introduction of Dictionaries.

@aparajit-pratap
Copy link
Contributor

aparajit-pratap commented Jan 9, 2019

Fixed in #9388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issues related to 2.x versions of Dynamo. bug priority Related to a release.
Projects
None yet
Development

No branches or pull requests

4 participants