User tests: Successful: Unsuccessful:
Untainted version of #6067
Labels |
Added:
?
|
Rel_Number | ⇒ | 6067 | |
Relation Type | ⇒ | Related to |
Unfortunately JArrayHelper::fromObject isn't an option here. Because the original code was checking for JRegistry and JObject interfaces before converting the object to an array.
Of course we could replace that final return (array)$data;
but that would be changing the ouput, so BC would be at risk.
Category | ⇒ | Libraries |
Same comment here regarding the merge conflicts. Any help would be appreciated.
It looks like this merge conflict is the result of another PR that resolved an issue with JObject, but this PR also fixes the bug and gives us a path to depreciate JObject dependencies in the future. So I hope you'll consider merging this.
Going to call @rdeutz as release manager of 3.7.0.
recall @rdeutz
I would like to close this one, improvements are small and solving the conflicts seems to me more work as recreate the PR
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-07 16:21:54 |
Closed_By | ⇒ | rdeutz |
Could you explain what is the improvement? And to convert an object to an array we have a function JArrayHelper::fromObject() that might could do a part of the job.