U4-7260 - Multi node tree picker with no selection can cause a error to display in the backoffice

Created by Jeavon Leopold 15 Oct 2015, 15:23:33 Updated by Shannon Deminick 22 Oct 2015, 16:08:39

Request error: The URL returned a 404 (not found): /umbraco/backoffice/UmbracoApi/Entity/GetByIds

This error is caused by the resource helper making a request without the ids= variable in the querystring

1 Attachments


Jeavon Leopold 15 Oct 2015, 15:34:00

Pull request here https://github.com/umbraco/Umbraco-CMS/pull/816

Chris Evans 16 Oct 2015, 21:25:19

Legend - I suddenly encountered this on a new 7.3.0 site. This fix solved it.

Workaround in the short term, if you don't want to build your own source or wait until 7.3.1:

add this to just under line 1346 of /Umbraco/js/umbraco.resources.js:

        if (ids.length === 0) {
            query += "ids=&";

just above the line that has: query += "type=" + type;

DanRoddis 20 Oct 2015, 12:13:22

Just to add I've noticed that this issue can disappear and/or re-appear following a server restart, which is confusing. This is despite full cache clear - it starts to affect all users and a restart sometimes resolves it entirely with no other changes.

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions:

Due in version: 7.3.1


Story Points: