Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 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 11:58 Go to next message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
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 05:11 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
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 07:06 Go to previous messageGo to next message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
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 09:57 Go to previous messageGo to next message
Matthias Villiger is currently offline Matthias VilligerFriend
Messages: 232
Registered: September 2011
Senior 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 06:52 Go to previous messageGo to next message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
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 10:04 Go to previous messageGo to next message
Matthias Villiger is currently offline Matthias VilligerFriend
Messages: 232
Registered: September 2011
Senior 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 06:53 Go to previous message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
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: Thu Apr 25 18:49:55 GMT 2024

Powered by FUDForum. Page generated in 0.02822 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top