Skip to content

fix backend js loading error, issue https://github.com/owncloud/files…#29217

Merged
DeepDiver1975 merged 1 commit into
owncloud:masterfrom
henry42:repair-backendjsloaderror
Oct 12, 2017
Merged

fix backend js loading error, issue https://github.com/owncloud/files…#29217
DeepDiver1975 merged 1 commit into
owncloud:masterfrom
henry42:repair-backendjsloaderror

Conversation

@henry42

@henry42 henry42 commented Oct 12, 2017

Copy link
Copy Markdown
Contributor

Description

some backend scripts do not load right.

Related Issue

owncloud/files_external_dropbox#13

Motivation and Context

In some php version, modification of the array during list() execution (e.g. using list($a, $b) = $b) results in undefined behavior.

@CLAassistant

CLAassistant commented Oct 12, 2017

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

foreach ($scripts as $script) {
if (is_array($script)) {
list($appName, $script) = $script;
list($appName, $tmpScript) = $script;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohhh, so the problem is that we were somehow replacing the foreach variable ? great catch!

@PVince81 PVince81 added this to the development milestone Oct 12, 2017

@PVince81 PVince81 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81

Copy link
Copy Markdown
Contributor

@henry42 can you sign the CLA ? See the "Details" link on the "license/cla" row in the test results above

@DeepDiver1975 DeepDiver1975 merged commit f9ef7ee into owncloud:master Oct 12, 2017
@henry42 henry42 deleted the repair-backendjsloaderror branch October 13, 2017 05:22
@ser163

ser163 commented Oct 31, 2017

Copy link
Copy Markdown

Thank you. I have fixed it. I use 10.0.3.3

@lock

lock Bot commented Aug 2, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

4 - To release p1-urgent Critical issue, need to consider hotfix with just that issue status/STALE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants