Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Not sure if we've found an SDK bug
Not sure if we've found an SDK bug [message #1153133] Thu, 24 October 2013 07:58 Go to next message
Urs Beeli is currently offline Urs Beeli
Messages: 318
Registered: October 2012
Location: Bern, Switzerland
Senior Member
In our Scout project, we use the "Window->Preferences->Scout->User legacy target package=Yes" setting.

When we right-click on <project>.client.Forms->New Form; name it "Bug" and click on Finish, the following files are created:

<project>.client/<project>.client.ui.forms\BugForm.java
<project>.server/<project>.server.services.process\BugProcessService.java
<project>.shared/<project>.shared.security\CreateBugPermission.java
<project>.shared/<project>.shared.security\ReadBugPermission.java
<project>.shared/<project>.shared.security\UpdateBugPermission.java
<project>.shared/<project>.shared.services.process\BugFormData.java
<project>.shared/<project>.shared.services.process\IBugProcessService.java

However, if I try the same on <project>.server.Services->New Service; name it "BugService" and click on Finish, the files are created as follows:
<project>.server/<project>.server.services.process\BugService.java
<project>.shared/<project>.shared.services.process\CreateBugPermission.java
<project>.shared/<project>.shared.services.process\ReadBugPermission.java
<project>.shared/<project>.shared.services.process\UpdateBugPermission.java
<project>.shared/<project>.shared.services.process\IBugService.java

Note that the three Permission files are created in the services.process package instead of the security package.

I can reproduce this with the Scout SDK 3.9.1 (Kepler SR1) and 3.10 (the nightly Luna build).

Is this intended? Or have we stumbled across a long sleeping bug?

I'd be happy to create a bug, but before I do so I wanted to check that it really is a bug.
Re: Not sure if we've found an SDK bug [message #1154276 is a reply to message #1153133] Fri, 25 October 2013 01:11 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 634
Registered: October 2011
Senior Member
According to what we had defined in Bug Bug 405687, with the setting „User legacy target package =Yes", the SDK should behave like in 3.8. This is not the case.

In my opinion, I think you have found a bug. I will ask the SDK Team for confirmation.
Re: Not sure if we've found an SDK bug [message #1158908 is a reply to message #1154276] Mon, 28 October 2013 03:06 Go to previous messageGo to next message
Urs Beeli is currently offline Urs Beeli
Messages: 318
Registered: October 2012
Location: Bern, Switzerland
Senior Member
Jeremie Bresson wrote on Fri, 25 October 2013 07:11
According to what we had defined in Bug Bug 405687, with the setting „User legacy target package =Yes", the SDK should behave like in 3.8. This is not the case.

In my opinion, I think you have found a bug. I will ask the SDK Team for confirmation.


Thanks. Let me know when you have confirmation and I will create a bug.
Re: Not sure if we've found an SDK bug [message #1171544 is a reply to message #1158908] Tue, 05 November 2013 04:57 Go to previous messageGo to next message
Matthias Villiger is currently offline Matthias Villiger
Messages: 76
Registered: September 2011
Member
For me this is a bug.

Thanks for reporting this!

regards,
m
Re: Not sure if we've found an SDK bug [message #1172921 is a reply to message #1171544] Wed, 06 November 2013 01:52 Go to previous messageGo to next message
Urs Beeli is currently offline Urs Beeli
Messages: 318
Registered: October 2012
Location: Bern, Switzerland
Senior Member
Bug 421126 created.
Re: Not sure if we've found an SDK bug [message #1173131 is a reply to message #1172921] Wed, 06 November 2013 05:04 Go to previous messageGo to next message
Matthias Villiger is currently offline Matthias Villiger
Messages: 76
Registered: September 2011
Member
Bug 421126 as been fixed for Kepler SR2 and newer releases.

Thanks for reporting this and creating the bug!

regards,
m
Re: Not sure if we've found an SDK bug [message #1174545 is a reply to message #1173131] Thu, 07 November 2013 01:53 Go to previous message
Urs Beeli is currently offline Urs Beeli
Messages: 318
Registered: October 2012
Location: Bern, Switzerland
Senior Member
I just tested this on the nightly Luna build and the problem seems to be fixed. Thanks!
Previous Topic:Printing a form
Next Topic:ServerTestApplication, JUnitServerJob and scheduling...
Goto Forum:
  


Current Time: Mon Jul 28 06:28:28 EDT 2014

Powered by FUDForum. Page generated in 0.02353 seconds