Opened 4 years ago

Closed 3 years ago

#18834 closed defect (invalid)

package name with "/" no longer works

Reported by: brianlschultz Owned by:
Priority: undecided Milestone: 1.11.3
Component: BuildSystem Version: 1.8.6
Keywords: Cc:
Blocked By: Blocking:

Description

The following package name "fd/mobile" does not work anymore for the dojoConfig or during the dojo build process. Maybe there is a different way to handle these now. It worked for us in dojo 1.7.3 but not in 1.8.6

We where able to fix in dojoConfig by using a map and using "fd_mobile" as name in package.

map: {

"*": {

"fd/mobile": "fd_mobile"

}

}

In dojoConfig: packages:[{name:'fd/mobile', location:'../../${AK_JS_PATH}/javascript/fd/mobile'}]

In build profile:

packages:[

{

name: "dojo", location: "./dojo"

}, {

name: "dijit", location: "./dijit"

}, {

name: "dojox", location: "./dojox"

}, {

name: "wc", location: "./wc"

}, {

name: "fd/mobile", location: "./RAPIDStorefrontAssetStore/mobile/javascript/fd/mobile"

}

],

Please help us to understand how this needs to be resolved now. Thanks.

Change History (4)

comment:1 Changed 4 years ago by brianlschultz

So we thought the map was working, but it did not work when it came time for dojo to find classes in built js file. It was still loading individual js files.

comment:2 Changed 4 years ago by bill

Surely a package name with a slash is asking for trouble, just like a directory name with a slash.

I don't understand what you are trying to do, but it seems like your package is actually "fd" and "mobile" is a directory within your package.

comment:3 Changed 3 years ago by dylan

Milestone: tbd1.11.3
Status: newpending

comment:4 Changed 3 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.