Opened 8 years ago

Closed 8 years ago

#13224 closed defect (worksforme)

Build with own namespace fail

Reported by: iCanDo Owned by: Rawld Gill
Priority: high Milestone: 1.7
Component: BuildSystem Version: 1.7.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

js: "../../dojo/dojo.js", line 866: exception from uncaught JavaScript? throw: TypeError?: Cannot call method "split" of undefined

dependencies = {
	layers : [{
		name : '../my/form.js',
		dependencies : ['my.form']
	}],

	prefixes : [['my', 'c:/path/to/dir']]
};

If namespace is sibling of dojo, it work.

dependencies = {
	layers : [{
		name : '../my/form.js',
		dependencies : ['my.form']
	}],

	prefixes : [['my', '../my']]
};

Change History (3)

comment:1 Changed 8 years ago by Rawld Gill

Status: newassigned

comment:2 Changed 8 years ago by iCanDo

Works now in beta 5, if layer name is changed to 'my/form.js'

dependencies = {
	layers : [{
		name : 'my/form.js',
		dependencies : ['my.form']
	}],

	prefixes : [['my', 'c:/path/to/dir']]
};

Backslashes do not work.

comment:3 Changed 8 years ago by Rawld Gill

Resolution: worksforme
Status: assignedclosed

This works, at least as of [26698]. There is an error in the way the name property of a layer is being handled. This is tracked in #14010.

Note: See TracTickets for help on using tickets.