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

Fix Query::addScriptField() #1086

Merged
merged 1 commit into from
May 6, 2016
Merged

Fix Query::addScriptField() #1086

merged 1 commit into from
May 6, 2016

Conversation

s12v
Copy link
Contributor

@s12v s12v commented May 4, 2016

Steps to reproduce:

  1. call $query->setScriptFields(...)
  2. call $query->addScriptField(...)
  3. fails with message "Fatal error: Cannot use object of type Elastica\Script\ScriptFields as array"

After calling setScriptFields(...), $this->_params['script_fields'] has type ScriptFields, therefore $this->_params['script_fields'][$name] fails

@s12v
Copy link
Contributor Author

s12v commented May 4, 2016

looks like it's failed because it wasn't able to pull docker images?

@ruflin
Copy link
Owner

ruflin commented May 4, 2016

I restarted the failing builds.

@ruflin
Copy link
Owner

ruflin commented May 4, 2016

@s12v Could you update the CHANGELOG.md file?

script_fields must have type ScriptFields
update CHANGELOG.md
@s12v
Copy link
Contributor Author

s12v commented May 4, 2016

@ruflin, done

@ruflin ruflin merged commit 6460d24 into ruflin:master May 6, 2016
@ruflin
Copy link
Owner

ruflin commented May 6, 2016

@s12v Merged. Thanks.

@s12v
Copy link
Contributor Author

s12v commented May 26, 2016

@ruflin, would it be possible to have a new release including this change?

@ruflin
Copy link
Owner

ruflin commented May 26, 2016

@s12v Sure, will push 3.2.1

@ruflin
Copy link
Owner

ruflin commented May 26, 2016

@s12v The release is currently somehow blocked because of this composer issue: #1096 (comment) any help is appreciated.

@ruflin
Copy link
Owner

ruflin commented Jun 9, 2016

@s12v No release yet as the PHP 5.4 builds are still red. Somehow hesitant to release with these red.

@s12v
Copy link
Contributor Author

s12v commented Jun 30, 2016

@ruflin, thank you for the release!

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.

2 participants