Skip to content

Wrong Behaviour: Values are converted to arrays#135

Merged
mattheu merged 2 commits into
masterfrom
fix-135
Dec 5, 2013
Merged

Wrong Behaviour: Values are converted to arrays#135
mattheu merged 2 commits into
masterfrom
fix-135

Conversation

@mattheu
Copy link
Copy Markdown
Member

@mattheu mattheu commented Dec 4, 2013

Hi guys,

So I update the library to the latest version and I had some issues after that. As I tracked them down, I saw that what used to be as a normal value is now returned as an array. Please see the attached image:
wrong-behaviour

Is this intended behaviour or is it a bug?

PS: This is a repeatable group.

@bearded-avenger
Copy link
Copy Markdown

same issue here

http://screencast.com/t/NQvi1VVNxH

@bearded-avenger
Copy link
Copy Markdown

I reverted to an earlier version and issue isn't present.

@banago
Copy link
Copy Markdown
Contributor Author

banago commented Dec 4, 2013

That's the point - it changed behaviour.

@bearded-avenger
Copy link
Copy Markdown

I'm just backing you in having the same problem. That ok?

@banago
Copy link
Copy Markdown
Contributor Author

banago commented Dec 4, 2013

That's awesome! Did I come through to harsh or something? :)

@bearded-avenger
Copy link
Copy Markdown

I apologize I likely read that wrong. All good. :)

@banago
Copy link
Copy Markdown
Contributor Author

banago commented Dec 4, 2013

Where are these guys @mattheu and @joehoyle?

@joehoyle
Copy link
Copy Markdown
Member

joehoyle commented Dec 4, 2013

@mattheu do you know if the resent JS refactor could have caused this? I think this also prompts discussion on doing a release cycle / stable tags.

@bearded-avenger
Copy link
Copy Markdown

I think it was this pull request

b43d588

And I definitely agree about a release cycle.

@banago
Copy link
Copy Markdown
Contributor Author

banago commented Dec 4, 2013

We have to do a release cycle eventually. But my client is waiting too. :)

@joehoyle
Copy link
Copy Markdown
Member

joehoyle commented Dec 4, 2013

@banago can you not just checkout an older revision where it was working for now?

@mattheu
Copy link
Copy Markdown
Member

mattheu commented Dec 4, 2013

I'll take a look tonight

@banago
Copy link
Copy Markdown
Contributor Author

banago commented Dec 4, 2013

Sure but I like the improved radio box styles. Other then that, there is nothing holding me off. I suggest the whole master branch reverts to an older version since people might be grabbing the library and getting the wrong results.

@joehoyle
Copy link
Copy Markdown
Member

joehoyle commented Dec 4, 2013

@banago any reverting we can do to fix the issue, you can do locally of course. Waiting to hear from @mattheu on what he finds before reverting master.

@banago
Copy link
Copy Markdown
Contributor Author

banago commented Dec 4, 2013

@joehoyle yeah yeah, sure. That was just a suggestion - I care about this project that much. :)

@joehoyle
Copy link
Copy Markdown
Member

joehoyle commented Dec 4, 2013

@banago cool, I appreciate the effort in reporting the issue and digging into it too - sorry about breaking your site!

@mattheu
Copy link
Copy Markdown
Member

mattheu commented Dec 4, 2013

My apologies for breaking stuff. I am fully to blame for this!

Can you check whether this PR fixes the issue? I think it is done on save so you will need to just need to resave the post

@banago
Copy link
Copy Markdown
Contributor Author

banago commented Dec 5, 2013

@mattheu the PR fixed the problem. And yes, all it was required was a resave. I think this is good to merge.

@mattheu
Copy link
Copy Markdown
Member

mattheu commented Dec 5, 2013

updated unit tests.

Thanks.

mattheu added a commit that referenced this pull request Dec 5, 2013
Wrong Behaviour: Values are converted to arrays
@mattheu mattheu merged commit 0d4df7a into master Dec 5, 2013
@mattheu mattheu deleted the fix-135 branch December 5, 2013 10:06
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

Successfully merging this pull request may close these issues.

4 participants