Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing regression with templates depending on server resources #1492

Closed
wants to merge 1 commit into from

Conversation

divdavem
Copy link
Member

This commit fixes a regression introduced in Aria Templates v1.7.6 (dc9c3ba) :
templates which have a server resources dependency (i.e. whose classpath ends with .Res) failed to be loaded.

For example, if the template contained something like this:

 {Template {
   $classpath : "x.y.MyTemplate",
   $res : {
     myRes : "x.y.myResourceName.Res"
   }
 } ...

That template could not be loaded, with the following error message:

 [aria.core.MultiLoader] Load failed
 ReferenceError: myResourceName is not defined

divdavem added a commit to divdavem/ariatemplates that referenced this pull request Jun 19, 2015
…r resources

This commit fixes a regression introduced in Aria Templates v1.7.6 (dc9c3ba) :
templates which have a server resources dependency (i.e. whose classpath
ends with .Res) failed to be loaded.

For example, if the template contained something like this:

 {Template {
   $classpath : "x.y.MyTemplate",
   $res : {
     myRes : "x.y.myResourceName.Res"
   }
 } ...

That template could not be loaded, with the following error message:

 [aria.core.MultiLoader] Load failed
 ReferenceError: myResourceName is not defined
@benouat
Copy link
Member

benouat commented Jun 19, 2015

Change is fine for me 👍 assuming that the build is fine :)

divdavem added a commit to divdavem/ariatemplates that referenced this pull request Jun 19, 2015
…r resources

This commit fixes a regression introduced in Aria Templates v1.7.6 (dc9c3ba) :
templates which have a server resources dependency (i.e. whose classpath
ends with .Res) failed to be loaded.

For example, if the template contained something like this:

 {Template {
   $classpath : "x.y.MyTemplate",
   $res : {
     myRes : "x.y.myResourceName.Res"
   }
 } ...

That template could not be loaded, with the following error message:

 [aria.core.MultiLoader] Load failed
 ReferenceError: myResourceName is not defined
…r resources

This commit fixes a regression introduced in Aria Templates v1.7.6 (dc9c3ba) :
templates which have a server resources dependency (i.e. whose classpath
ends with .Res) failed to be loaded.

For example, if the template contained something like this:

 {Template {
   $classpath : "x.y.MyTemplate",
   $res : {
     myRes : "x.y.myResourceName.Res"
   }
 } ...

That template could not be loaded, with the following error message:

 [aria.core.MultiLoader] Load failed
 ReferenceError: myResourceName is not defined
@divdavem
Copy link
Member Author

@benouat Thank you for your review. I have fixed the test, rebased the branch and integrated it in master.

@simonarbuckle simonarbuckle added this to the 1.7.9 milestone Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants