OptimalJ maintenance releases (such as service packs or releases with version number of the pattern #.#.0#) provide updates to generated code and the patterns applied to models. For more information, see the below table.
To take advantage of these changes, you must follow this procedure for each OptimalJ project when upgrading to the maintenance release:
The MCR files used to map generated files to model elements are not stored in version control systems. These MCR files are required when upgrading to a maintenance release. Before upgrading to a maintenance release, you must restore these files by completing steps 1 and 2 in the old version of OptimalJ (Updating all models ensures that all models are synchronized, while generating code creates the MCR files). Then install the maintenance release and follow the procedure described above.
| Bug number |
Severity |
Summary |
Reported version |
Fix version |
Description |
Release notes |
| 26042 |
1-Critical |
Add to diagram in UML UseCase diagram does not show all edges |
GA 3.3.00 |
4.0.00_SP2 |
When importing a use case model exporting from Catalyze, you can't repaint the use case diagram completely.
Steps to Reproduce: - Import XMI file (attached) UML diagram area - Create a new Use Case diagram - Add elements to the diagram
Observed behaviour: You can't add all elements to the diagrams. |
Fixed |
| 26122 |
1-Critical |
A Boolean attribute with value true ,which has the updateallowed property set to false , gets set to false when editing |
3.2.00 |
4.0.00_SP1 |
|
|
| 26684 |
1-Critical |
Warning in Web copier about not being able to resolve SelectList flow when not all classes are used in service model |
4.0.00_SP1 |
4.0.00_SP2 |
|
A model check in Web has been added specifically for SelectList flow. |
| 21390 |
2-Major |
Copy/Paste - usability - pasted elements need to be placed on selected location |
3.3.Phase1 |
4.0.00_SP2 |
When selecting paste on a specific location on the canvas, the elements need to be created on that location. |
New behavior:
PASTE IN THE DIAGRAM A. Using the popup menu on a specific location on the canvas: the element will appear at that location. B. Using Ctrl-V while the canvas has focus: the element will appear in the centre of the visible part of the canvas. C. Using Paste in the main Edit menu: as Ctrl-V. D. Doing either A, B or C with elements that are laid out automatically (such as Attributes or Associations) will not influence their positioning: behaviour is unchanged. When pasting multiple elements, the elements will be staggered from top-left to bottom-right, so it will be clear to the user that a multiple selection has been pasted.
PASTE IN THE MODEL EXPLORER The behaviour for the explorer tree is unchanged. When using the popup menu, the main Edit menu, or Ctrl-V on a paste target, the element will occur as child in the tree, and be generated ("like new") to the right of all existing elements in the diagram. The same goes for pasting a multiple selection. |
| 25132 |
2-Major |
JBoss EJBQL commented out for BigDecimal finder method |
3.3.01 SP1 |
4.0.00_SP1 |
|
|
| 25217 |
2-Major |
"long cannot be dereferenced" compile error in formbean setter |
GA 3.3.01 |
4.0.00_SP1 |
|
|
| 25299 |
2-Major |
Compilation errors due to multiplicity of 'zero or more' for the XSDLElements inside XSDLComplexTypes |
3.3.01 SP2 |
4.0.00_SP1 |
|
|
| 25414 |
2-Major |
errors when creating web component based on domain service under sub-package of service model package. |
GA 3.3.01 |
4.0.00_SP1 |
|
|
| 25416 |
2-Major |
Throw exception with message when .ccignore is not present |
GA 3.3.00 SP1 |
4.0.00_SP1 |
If there is no .ccignore file present in Home directory, then a message should be thrown so the user knows that the .ccignore file must be present before importing into ClearCase. |
fixed |
| 25500 |
2-Major |
Self reference does not work on WebSphere |
GA 3.3.01 |
4.0.00_SP1 |
|
|
| 25539 |
2-Major |
Custom field added to a form bean via code model explorer doesn't get reflected in source code file |
GA 3.3.01 |
4.0.00_SP1 |
|
Disabled bean-editor in NetBeans |
| 25606 |
2-Major |
Cannot add WEBDataAttribute of type struct to WEBDataClass |
3.3.01 SP1 |
4.0.00_SP1 |
If you add a WEBDataAttribute of type WEBStructType where there is no corresponding domain struct type to a WEBDataClass there will be an error when you try to generate code. This does not happen if the new WEBDataAttribute is of type String. |
The beansave and bean load method are generated correctly (no compound statements) for WEBstructs that have no application structs counterparts. Such structs only exists as a Formbean implementation and it is the responsibility to provide translations from and to the business tier, if required. |
| 25674 |
2-Major |
Using Date or Timestamp as a part of Compound primary key in 2-tier DAC application results in compilation errors |
GA 3.3.01 |
4.0.00_SP1 |
A 2-tier model with a compound key, where one of the key attributes has the type Date results in a compile error like:
Compilation error: /application/business/logic/ExampleDAC.java [589:1] cannot resolve symbol symbol : method getExampleDate () location: class application.business.common.example.ExampleUpdateObject prepare.setDate(2, new java.sql.Date(exampleUpdateObject.getExampleDate ().getTime())); |
Fixed |
| 25712 |
2-Major |
Read-only enumeration does not use the resource bundle |
GA 3.3.01 |
4.0.00_SP1 |
If you use a read-only enumeration in your domain or web model it is displayed in the jsp by showing the hard coded values entered in the domain model instead of the translated values it should display using the resource bundle. |
fixed |
| 25713 |
2-Major |
MSS 2K: 1_N store order wrong in user defined domain service |
GA 3.3.01 |
4.0.00_SP1 |
|
|
| 25770 |
2-Major |
Code is not generated to delete referenced classes |
GA 3.3.01 |
4.0.00_SP1 |
Code is not generated correctly for Webaction of type Delete. The problem occurs when a composition or one-to-many relationship is created, together with a user-defined Webcomponent maintaining this relationship and having a 'form' Webpage to edit the wholeside or parent Domainclass, and that has a page event calling a Webaction which deletes the partside or child DomainClass. |
|
| 25892 |
2-Major |
Cannot use tag on attribute for sub web data class |
3.3.01 SP2 |
4.0.00_SP1 |
The documentation "Binding a List to a Data Reference", does not work for a subclass |
|
| 25901 |
2-Major |
Copy and paste in WebPages creates corrupt data |
3.3.01 SP2 |
4.0.00_SP1 |
Copy and paste in WebPages doesn't change the bindings. |
|
| 26002 |
2-Major |
Not all code removed after domain class deleted |
3.3.01 SP2 |
4.0.00_SP1 |
A domain class is removed and after update all models and generating the code, some code has not been deleted.
Files generated from WEBDataClasses are NOT deleted since they do not have a 'module' property. In the MCR we listen to 'module' changes to detect when elements get a new module or are deleted (the module is set to 'null' in that case). This works for all elements except for the WEBDataClasses that inherit their module property from the WEBDataSchema |
The MCR now listens to delete change events as well. This way we can also 'absolutify' the URL when an element is deleted that is not a module part. |
| 26078 |
2-Major |
Missing ComponentReference in 2-tier model leads to Null Pointer Exception when generating code |
GA 3.3.01 |
4.0.00_SP2 |
Removing one (DAO)ComponentReference from the application model will lead to code generation problems. There is no modelchecker that warns you about this situation. |
A modelchecker is added that ensured that a ComponentReference is always connected to another ComponentReference. It is now also possible to manually create a ComponentReference in the dao model via the 'new child' menu, but there is no wizard. |
| 26080 |
2-Major |
Defining a BusinessMethod to locate superclass finder method does not deploy |
3.3.01 SP2 |
4.0.00_SP2 |
When a BusinessMethod named "findByStreetAndZipCode" is defined in a subclass such that it uses inheritanceLocator to delegate to the finder method on the super classes, an error is thrown upon starting application server. |
A modelchecker is added and the wizard is updated to prevent incorrect naming of the BusinessMethod that is also a home method. |
| 26106 |
2-Major |
compile errors when using attributes from a other subsystem in a flow guard |
4.0.00 |
4.0.00_SP1 |
The problem is caused by the AL ipattern not taking modules into account: it always assumes that any component accessed from an AL code fragment is in the same module as the code generated from AL code fragment. It is not true for multiple subsystems for example.
When a remote interface is used, RemoteException should be taken into account. Since originally only local interfaces were assumed, RemoteException were not considered. |
Fixed |
| 26123 |
2-Major |
Update model resets manual changes to WebDataAttribute.constraint property |
3.3.01 SP2 |
4.0.00_SP1 |
Manual changes to the WebDataAttribute.constraint and WebDataAttributeConstraint.constrainedElements properties are reset by update model. |
|
| 26222 |
2-Major |
2 deep byValue BLOB not retrieved |
4.0.00 |
4.0.00_SP2 |
A service model using BLOB attributes where one of the ReferenceViews in the domain is set 2 deep byValue, the BLOB is not retrieved from the DB. |
Fixed |
| 26240 |
2-Major |
Error page when login to secured MainMenu.jsp via programmatic web authentication |
4.0.00 |
4.0.00_SP1 |
|
|
| 26252 |
2-Major |
Body tags should be generated by webTemplate not webPage |
3.3.01 SP2 |
4.0.00_SP2 |
When a WebPage uses a WebTemplate, the <body> tag should be generated by the WebTemplate not the WebPage. Otherwise a user cannot control the look of the body tag easily.
If a webTemplate has an includePanel which includes a page that has a body tag and it also has a tilePanel, this creates problems. Body tags should be controlled and generated from the webTemplate. |
The following is implemented:
- The template should contain the <body> element - A WebPage that makes use of a template should NOT generate the <body> element |
| 26253 |
2-Major |
Defining a BusinessMethod on a generalization to find by a FinderMethod of the specialization throws error |
3.3.01 SP2 |
4.0.00_SP2 |
Defining a BusinessMethod on a generalization to find via the inheritance locator by only a FinderMethod of the specialization throws an error.
for example:
Animal name ^ | Turtle
Make a FinderMethod in Animal - findByName In Turtle create a BusinessMethod with InheritanceLocator and add findByName. This should return Turtle's with a specific name, but it doesn't. |
The problem is fixed. Extra code is generated in the inheritance locator. It walks trough all the found objects (e.g. all the Animals) and then looks if the objects are also Turtles. The findByPrimaryKey of the Turtle is used to establish this. All objects that are Turtles are returned.
Anticipating on few hits in the generalization: When many hits are expected in the specialization, the solution as implemented will check each hit through findByPrimaryKey on the specialization.
Anticipating on many hits in the generalization: Consider modeling an additional findAll on the subclass. That will prevent multiple additional look-ups through findByPrimaryKey.
Depending on the requirement, child class findByPrimaryKey or findAll should be added in the inheritance locator along with parent class finder method. |
| 26268 |
2-Major |
Select button doesn't work after loading default maintenance page into UI Designer |
4.0.00 |
4.0.00_SP1 |
Select button on a default maintenance form does not work anymore after loading the form into the UI Designer and redeploy application. |
Fixed |
| 26284 |
2-Major |
Model > Generate All > Documentation is broken |
4.0.00 |
4.0.00_SP1 |
Model > Generate All > Documentation does not result in generated documentation. |
|
| 26317 |
2-Major |
Code in free block is lost when code is generated |
3.3.01 SP2 |
4.0.00_SP1 |
Sometimes code in free blocks is overwritten when code is generated again.
Things go wrong because the block markers in this generated file (//GEN-GUARD, etc) contain an extra space character at the end, which becomes part of theBlock's ID. When regerating code probably the ID is not found => free block lost. |
Fixed by stripping off the trailing space before comparison. |
| 26350 |
2-Major |
SequentialKeyGeneratorLong instantiation results in nullpointer exception |
3.3.01 SP2 |
4.0.00_SP1 |
|
|
| 26385 |
2-Major |
Using a 3-tier model with inheritance and the page iterator results in compile errors |
PH 4.0.Phase1 |
4.0.00_SP2 |
Using a 3-tier model (unsing ejb components) with inheritance and the page iterator enabled on the specialization results in compile errors. |
Fixed. The correct KeyClass name is generated. |
| 26395 |
2-Major |
Security tags not generated on MainMenu when using JSP Templates and Programmatic Security |
GA 3.3.01 |
4.0.00_SP2 |
When using programmatic security the following tags are generated in MainMenu.jsp (when using DreamWeaver templates)
<authentication:enforceAuthentication loginPage="WEBAuthenticationComponentLogin.jsp"/> <authentication:isUserNotInRoles roles="admin"> <jsp:forward page="WEBAuthenticationComponentSecurityRoleViolation.jsp" /> </authentication:isUserNotInRoles>
When setting defaultJspTemplate to "Jsp Template Tags" the above tags are not generated which means that MainMenu.jsp is not secured anymore. |
Authentication TLD is now included in the JSP (jspContentMenu). |
| 26430 |
2-Major |
Invalid Mountpoints in the code model explorer |
3.3.01 SP2 |
4.0.00_SP2 |
After generating code you end up with Invalid Mountpoint in the code model explorer, if your code location setting is to Automatically Mountpoints.
This is occuring because the user has failed to use the mount point manager to recreate the information lost in the absence of the machine specific .nbattrs files. Since the project can not relate the mounted code directories without these files, OptimalJ assumes it does not have the directories yet and creates new duplicate directories as instructed.
The correct procedure would be to use the mount point manager to reconstruct the project after cvs checkout and before update all models and generate.
It would appear however the documentation does not describe this step and should be updated accordingly |
Documentation updated to reflect correct procedure. |
| 26500 |
2-Major |
isChanged() method in update object does not work |
3.3.01 SP2 |
4.0.00_SP2 |
Of the isChanged() method in the generated code of UpdateObject sometimes the result changes after you've called the UpdateObject's get<AssociatedClass>() method.
The result should not be influenced when you call the get method. |
This bug is fixed in OptimalJ 4.0.00_SP2. If you migrate your application from an older version to this release or higher, the fix takes effect when you regenerate the code of the UpdateObjects. |
| 26562 |
2-Major |
2-tier model with DomainStructType field of type Date results in compile error |
4.0.00 |
4.0.00_SP2 |
A 2-tier model with a DomainStructType with field having type Date which is used in a DomainClass with an attribute having as type the DomainStructType results in compile errors like:
Observed behaviour:corp/cpwr/test/application/business/logic/TestDA C.java
[848:1] <identifier> expected structname.setStructValue((java.util.Date) result.(4)); |
Fixed |
| 26587 |
2-Major |
Code added to free block in xml files lost |
4.0.00_SP1 |
4.0.00_SP1 |
During code (re)generation, code added in free blocks is lost in several xml files.
The bug is due to an incorrect fix in OptimalJ 4.0.00 SP1 for bug 26317. The incorrect fix affects every xml file, typically deployment descriptors for application servers and configuration files for web servers. |
|
| 26620 |
2-Major |
Using published Business Expression libraries in another subsystem result in Compilation errors |
4.0.00_SP1 |
4.0.00_SP2 |
When you use a business expression library in another subsystem, in files which contain calls to this business expression library the corresponding import statement is not generated. |
This is fixed in OptimalJ 4.0.00_SP2. When you migrate an application from an older release of OptimalJ to this release or later, this fix takes effect when you regenerate the code of the using subsystem. |
| 26654 |
2-Major |
Tools -> Options -> ... -> Naming convention for foreign key attributes doesn't work |
4.0.00_SP1 |
4.0.00_SP2 |
Using Tools -> Options -> OJ configuration -> Modeling and Model Generation --> Model Check, Naming Conventions, Character Sets --> Naming convention for foreign key doesn't work. Only the option 'Role name' works. |
Fixed. The option 'None" working again. |
| 26685 |
2-Major |
WebLogic custom control compile error with serviceoperationexception |
4.0.00_SP1 |
4.0.00_SP2 |
When a domain service has a custom operation that uses a custom exception, the method signature generated in the application.business.facade.wlwcontrols.svcname.SvcNameControl.java interface is missing the throws keyword. |
Throws keyword is now generated appropriately. |
| 26687 |
2-Major |
Control created inside OJ can't be installed into Weblogic Workshop |
4.0.00_SP1 |
4.0.00_SP2 |
Due to a classloader issue in BEA WebLogic Workshop (known under BEA case number 579291), the name of an OptimalJ innerclass caused this issue to appear. |
Fixed in OptimalJ by adapting the innerclass name to a value that is accepted by WLW. |
| 26721 |
2-Major |
User-defined webcomponent in two-tier app updates related classes |
4.0.00_SP1 |
4.0.00_SP2 |
Two-tier application generated from userdefined web component updates related classes where it should not have done so.
The web code uses fromKeyClass to find an associated UpdateObject. If it is not in the cache a new UpdateObject is created which only contains the key. The UpdateObject will have it's isResolved flag set to false.
Expected from the businessfacade and the layers below is that UpdateObjects which are not resolved are not stored. In this case the DACComponent does not look at the isResolved and performs the update. This results in dataloss. |
With this fix, an additional method was needed to be added to the alturaApplicationDeploy.jar file. This new jarfile is backwards compatible with OptimalJ 4.0.00 and 4.0.00SP1.
The error message you will get when you deploy an OptimalJ 4.0.00 SP2 application with the wrong alturaApplicationDeploy.jar file is similar to: java.lang.NoSuchMethodError: mytwotier01.application.business.common.member.MemberUpdat eObject.setResolved(Z)V mytwotier01.application.business.logic.MemberSvcBLC.storeM ember(MemberSvcBLC.java:520) ... ...
When manual code is creating UpdateObjects not based on a DataObject the isResolved flag is false. Perfonrming an update via a DACComponent will result in a not updated database. In the new created UpdateObject the method setResolved(true) must be called if it is desired to store the updates of the UpdateObject. |
| 20871 |
3-Normal |
Increased webpage cannot be reached via vertical scroll bar |
3.3.Phase1 |
4.0.00_SP1 |
Open the UI designer on a (generated) page which occupies the complete visible area of the editor. Perform an action which increases the vertical size of the page. E.g. increase the vertical size of an element in the panel at the bottom of the page. |
Fixed |
| 24075 |
3-Normal |
Performance problems when adding new associations in Domain Class model with many classes |
GA 3.3.00 SP1 |
4.0.00_SP1 |
When adding new associations in a Class Diagram with a Domain Class model having approx. 70 classes, OptimalJ hangs for 2-3 mins and the CPU goes to 100%. |
|
| 24917 |
3-Normal |
2-tier model runtime errors when using BLOB, inheritance and composition |
GA 3.3.01 |
4.0.00_SP1 |
Classes that contain a retriever (blobRetriever, lazyRetriever) can cause a java.io.NotSerializableException. |
Fixed. The Retriever interface has changed. It now implements java.io.Serializable.
Note: this means that if a user makes its own Retriever class that implements the Retriever interface, the class (and thus all of its members) should be Serializable. |
| 24940 |
3-Normal |
java.util.Date is not supported by WebSphere as an input parameter for a finder method |
3.3.01 SP1 |
4.0.00_SP1 |
|
|
| 25348 |
3-Normal |
eardef file doesn't get compiled |
3.3.01 SP1 |
4.0.00_SP1 |
The problem is that the web and the ejb xml files do not need the same order. In the web-app_2_3. dtd used in the web.xml (http://java.sun.com/dtd/web-app_2_3.dtd) you have
<!ELEMENT env-entry (description?, env-entry-name, env-entry-value?,env-entry-type)>
and in ejb-jar_2_0.dtd use in the ejb.xml (http://java.sun.com/dtd/ejb-jar_2_0.dtd) you have another order:
<!ELEMENT env-entry (description?, env-entry-name, env-entry-type, env-entry-value?)> |
To be able to generate the env-entry with the same template we have added a parameter moduleType to the jointpoint ADDITIONALENVENTRIES and to RESOURCEREFS and also change the involved templates. This variable will take 2 values “WEB” the default value and “EJB” if the env-entry is place in an ejb.xml. |
| 25359 |
3-Normal |
Free Blocks in customer action classes |
3.3.Phase1 |
4.0.00_SP1 |
Action class code generated from a custom action defined in the flow modeller only contains one free block. If you define the action class to be of a certain type, OJ generates code (e.g. retrieval of data) after the free block, and thus leaves the programmer with no way of entering code after the OJ code but before the return statement. |
Provided two free blocks, one in the beginning and another one at the end. |
| 25379 |
3-Normal |
Webflows not working in consistent manner |
3.3.01 SP2 |
4.0.00_SP1 |
The User-defined UpdateLinks action uses Reference.type name to determine the retrun value (XXXKeyColl) of a SelectListFlow. It should use the KeyClass name for that. When a user has multiple references to a Class and they are all byValue(owned) in Service model, they refer to different ClassViews whereas the Same SelectList Flow provides that one Class. |
This check will give errors on these modelElements: Error: WEB080 - WebInvocationNode |
| 25385 |
3-Normal |
MountPoints Exception : When subsystem jar mounted |
GA 3.3.01 |
4.0.00_SP1 |
Archive folder directory of subsystem jar is not managed correctly, causing exception. |
Fixed |
| 25577 |
3-Normal |
model check for failures event on a store action. |
4.0.00 |
4.0.00_SP1 |
A new model check has been added as part of bug 25398. This will give a warning (help code WEB078) if a WebAction which is under a userdefined webcomponent doesn't contain any WebActions called 'failures'. |
short description of the WEB078 reference topic added to documentation. |
| 25580 |
3-Normal |
compile error when readOnly DAOs are generated from domain subclass and superclass with Generalization. |
GA 3.3.01 |
4.0.00_SP1 |
Compile error when readOnly DAOs are generated from domain subclass and superclass with Generalization.
Create a 2-tier model with 2 classes. Animal and Turtle where Turtle is a specialization of Animal. Update all models. Set the TurtleDAC and AnimalDAC readOnly property to true. Generate code and compile.
Compilation fails due to 2 problems: 1) The businessfacade cannot handle readOnly DACComponents, this is bug 11534. 2) The ConstraintHandler doesn't compile because it calls delete methods in the DACComponent that aren't generated. This is solved in this bug. |
The compilation problems in the ConstraintHandler are fixed. |
| 25609 |
3-Normal |
Compile error, method not found |
3.3.01 SP1 |
4.0.00_SP1 |
in the validate<part> method for the part of the composite association we use a variable called mandatoryColl to check the mandatory 1-* associations from the part. In case of the object is not created we initialize this variable with the get<association>Keys method. Unfortunately the former method is in another inner class of the bean. To fix the problem we have only to prefix the call of the method with dataItem representing the inner instance of the part. |
Changed the GenerateValidate.tpl to prefix the call of the get<association>Keys method with dataItem |
| 25652 |
3-Normal |
Parser error in cases with database sequence generated keys and user defined finder methods. |
3.3.01 SP2 |
4.0.00_SP1 |
If you use a keyGeneration set to Database sequence for a KeyClass (keyAttribute) and if you have a customized finder method on an Entity Bean using this KeyClass then the ejb.xml uses the wrong order and does not comply with the DTD. The order in the xml file is: ... <entity-command> </entity-command> <query> </query> ... But it should be : <query> </query> <entity-command> </entity-command> |
|
| 25659 |
3-Normal |
having restricted associations & DAO components generated, results in non compiling DAO constraint handler. |
3.3.01 SP2 |
4.0.00_SP1 |
Create new 2- tier project from class with three classes: ClassB(*)-->(1)ClassA(1)<--(*)ClassC - Generate DAO from Domain - Update all models - Generate all models - Compile --> compilation error: /application/business/logic/ConstrhandlerdupBusinesslogicC onstraintHandler.java [183:1] prepare is already defined in isRestrictingOfClassADAC (application.business.common.ClassAKey,java.util.Collectio n) PreparedStatement prepare = null; ^ 1 error Errors compiling Project. |
Fixed |
| 25806 |
3-Normal |
Errouneously generated code in BLC-classes in project containing DAOs |
3.3.01 SP2 |
4.0.00_SP1 |
|
fixed |
| 25861 |
3-Normal |
UpdateLinks is causing application not to compile if using subtypes |
3.3.01 SP2 |
4.0.00_SP1 |
When using the UI designer, if the main class has associations to classes which are subtypes, any action of type 'UpdateLinks' is created with code that will not compile. The code needs to have a casting inserted. |
fixed |
| 25866 |
3-Normal |
Other Subsystem's activities not removed from realization when changing specialization from ProcessCall to... |
4.0.00 |
4.0.00_SP1 |
When changing the specialization type of an Activity from a ProcessCall (invoking a Process in a different subsystem with interactive tasks) to any other type, update all models doesn't remove the other subsystem's activities from the BrowseTasks realization activity list. |
|
| 25913 |
3-Normal |
Pasting to free block in OptimalJ Java editor in Eclipse causes error |
3.3.01 SP2 |
4.0.00_SP1 |
When pasting code in a free block an error occurs if the block does not contain enough new lines for the pasted code. |
Fixed |
| 25919 |
3-Normal |
Multiplicity of a returnparameter of a businessexpression has no effect on code. |
GA 3.3.01 |
4.0.00_SP1 |
Changing the multiplicity of a returnparameter of a businessexpression does not affect the code. |
Let, if the upper multiplicity is *, the generated returntype be the UpdateObjectCollection. |
| 26009 |
3-Normal |
Reorganizing imports removes imports from guarded block in Eclipse |
3.3.01 SP2 |
4.0.00_SP1 |
When re-organising imports (using either reorganize imports (ctrl+shift+o) or quickfix (ctrl+1)) the imports in the guarded block(s) are also removed. Also imports are added to the guarded block instead of a free block. |
Disabled this functionality in the OptimalJ-java-Editor in Eclipse. |
| 26027 |
3-Normal |
The WEB080 message needs to get a description in the help system. |
3.3.01 SP2 |
4.0.00_SP1 |
The WEB080 message needs to get a description in the help system. |
For maintenance WEB Components, reuse of a child Web flow from other WEBComponents is not supported. You can, however, reuse Root Web flows from other WEBComponents.
For user-defined WEBComponents, all generated Web flows can be integrated with user-defined flows. For example, using a subflow of type SelectList Flow, or using the rootFlow of another maintenance pattern component are both allowed.
Solution: For maintenance components, only reuse Root Web flows from other WEBComponents or create a user-defined Web flow. |
| 26049 |
3-Normal |
WebDataAttribute of type EnumerationType with property updateAllowed=False not properly displayed |
GA 3.3.01 |
4.0.00_SP1 |
|
|
| 26090 |
3-Normal |
Multiple relations[ associations] to class and use of fast lane data access (DAC) results in an application that does not handle the relations properly. |
3.3.01 SP2 |
4.0.00_SP1 |
The combination of double up relations to one class and the use of fast lane data access (DAC) results in an application that does not handle up-relations properly. |
The changes are: - The generated SQL statements in DAO code generation - Some new utility methods have been added, which are called by the DAO SQL statement generation. |
| 26124 |
3-Normal |
WEB081: New modelcheck for web |
4.0.00_SP1 |
4.0.00_SP1 |
Help for new model check error: A webButton bound to a webPageEvent must be defined in the same webPage as the webPageEvent. |
A webButton is bound to an action event of the webPage and executes the event that is defined in the WebFlow of the WebComponent. For a webButton to be bound to a webPageEvent, both the webButton and webPageEvent must be defined within the same webPage. |
| 26130 |
3-Normal |
Two tier app with parallel assoc generates wrong SQL |
GA 3.3.01 |
4.0.00_SP1 |
|
|
| 26158 |
3-Normal |
Non-fully qualified class name (Driver of java.sql.Driver) causes compiling error. |
3.3.01 SP2 |
4.0.00_SP1 |
The source of an *ejbconstrainthandler imports java.sql.*. This may lead to nameclashes, e.g. if you have a domain class named Driver. |
|
| 26251 |
3-Normal |
deepCopy on UpdateObject does not deep copy key |
3.3.01 SP2 |
4.0.00_SP2 |
When you deep copy an UpdateObject, its key is not deep-copied, so that subsequent changes to fields that are used in the key in the original influence the copy (and vice versa). |
Fixed in 4.0.00_SP2. When you migrate an application from an older release of OptimalJ to this release or later, this fix takes effect when you start using the new alturalib (which happens automatically when you test the application or (re)generate the ear file). |
| 26287 |
3-Normal |
Modelpackages are not copied from business facade to presentation |
4.0.00 |
4.0.00_SP1 |
|
Added rule to copy the ModelPackages from business facade to Presentation. |
| 26379 |
3-Normal |
Incorrect deployment descriptor generated when parameter of type collection used |
3.3.01 SP2 |
4.0.00_SP2 |
When the multiplicity of a parameter of a domain service operation is set to 'zero or more' the resulting deployment descriptor is incorrect.
Generated deployment descriptor is: <method> <ejb-name>TestComponent</ejb-name> <method-name>fillStructs</method-name> <method-params> <method- param>crm.application.business.common.Struct</method- param> </method-params> </method>
It should be:
<method> <ejb-name>TestComponent</ejb-name> <method-name>fillStructs</method-name> <method-params> <method- param>crm.application.business.common.StructCollection</me thod-param> </method-params> </method> |
Fixed |
| 26381 |
3-Normal |
Move/Refactor behavior is not documented |
4.0.ITB2 |
4.0.00_SP2 |
The behavior of OptimalJ models when objects are moved is not documented. Especially with respect to technology patterns. |
The documentation now explains how generated objects are moved when a source object is moved. |
| 26392 |
3-Normal |
Relogin after logout fails |
GA 3.3.01 |
4.0.00_SP2 |
When the user logs out, the login page appears. When you log in again as a different user on this page, the login fails. |
The logout link now forwards user to loggedOut page with login / go to mainMenu link on it. This way logout should not cause a forced login/ error. |
| 26397 |
3-Normal |
Compilation errors when using PageIterator, finder method and Enum object |
GA 3.3.01 |
4.0.00_SP2 |
Compilation errors when using PageIterator, finder method and Enum object.
Example reproduction scenario:
1) Create new Project using crm example 2) Update All Models 3) Add new FinderMethod findTest to [ServiceAgreement]EJBEntityComponent and add [serviceLevel] for the parameter 4) Open properties for [ServiceAgreement]WEBComponent in presentation model. Change [supportPageIterator]value to [True] 5) Open properties for [ServiceAgreement]BusinessFacadeComponent in facade model. Change [supportPageIterator]value to [True] 6) Open properties for [ServiceAgreement]EJBEntityComponent in logic model. Change [supportPageIterator]value to [True] 7) Generate All Code 8) Compile Project
Compilation fails. |
Fixed |
| 26405 |
3-Normal |
implicit join points do not compile |
4.0.00 |
4.0.00_SP2 |
Description: when trying to use implicit join points in a custom TPL template, the compiler gives an error.
Steps to Reproduce: use the example of the Help topic "Implicit join points": |
Fixed |
| 26467 |
3-Normal |
Add a free block in method logStackTrace in the base Action for a WEBComponent. |
unspecified |
4.0.00_SP2 |
When exceptions are caught in the default actions (Update, Select, etc), the method logException is called. This method is declared in ControllerAction. It stores the exception message in the errors list of the request, and also calls logStackTrace(). The default logStackTrace in ControllerAction does nothing. In the WEBComponent base action class the same method logStackTrace exists, which also does nothing, and the entire method is protected. Instead of writing a logException method in every one of the action classes in the web component it would be nice to have a free block in the base action class so that something like "logger.error("Exception: " + t.getMessage(),t);" can be added. |
New free block has been added. |
| 26496 |
3-Normal |
JMI generation does not work anymore |
3.3.01 SP2 |
4.0.00_SP2 |
|
Fixed |
| 26555 |
3-Normal |
Web UI elements donot stretch automatically when moved to another panel |
3.3.01 SP2 |
4.0.00_SP2 |
Steps to Reproduce: - Create a model class with many attributes (five is enough) - Create a web page using the UI designer and bind to the data schema - create initial layout - at the bottom of the new page, add a webpanel - move all the existing elements to the web panel (using drag and drop)
Notice that the elements do not stretch to fill the panel.
Further testing showed that whenever a first panel containing some elements is moved to second panel (a new one), the size of first panel is not adjusted automatically. It has to be manually resized. |
The 'flow' and 'table' layout managers of a WebPanel are changed to handle sub panels differently from contained widgets. For the case of a contained WebPanel the width will be calculated as follows: - if the panel has width 'absolute' then that pixel value will be used. - if the panel has width 'automatic' then it will be expanded to fill 100% of the available space.
Also panels are placed on their own line in a flow layout or table cell. |
| 26560 |
3-Normal |
fix implicit joinpoints doc |
4.0.00 |
4.0.00_SP2 |
A software bug is fixed and a documentation fix is required: implicit joinpoints fixed in 4.0.00SP2 |
Documentation updated |
| 26574 |
3-Normal |
Describe new EJB097 modelcheck message |
4.0.00_SP2 |
4.0.00_SP2 |
New modelcheck is introduced for bug 26080. This check needs documentation. |
The IsHome modelcheck is in OJ 4.0.00SP2 number EJB097 and in 4.1 it is number EJB098. |
| 26582 |
3-Normal |
Nested lists with no records produce extra <tr> tags |
3.3.01 SP2 |
4.0.00_SP2 |
If you look at the HTML source, you will see:
<tr class="row-empty"> <td colspan="100">No records found.</td> </tr>
The <tr> and <td> tags should not be there, since all other data is in <div>. |
Fixed - Solution is to always generate the 'No records found' message inside a <div>. |
| 26586 |
3-Normal |
Improve Instructions for import into Starteam from OJ process |
4.1.ITB1 |
4.0.00_SP2 |
The current documentation does not take a situation into account where you start with an empty StarTeam repository, and only describes how to mount an existing repository. |
Documentation updated to describe the process of importing into Starteam. |
| 26590 |
3-Normal |
New ComponentReference modelcheck needs documentation |
4.0.00_SP2 |
4.0.00_SP2 |
A software bug is fixed and a documentation fix is required: Bug 26078 is fixed. New Application level modelcheck APP035 is introduced. |
Documented |
| 26615 |
3-Normal |
Business Expressions doesn't adjust the return parameter name |
4.0.00_SP1 |
4.0.00_SP2 |
When you create a business expression, the name of its return parameter contains the pid instead of the name of the business expression. |
Fixed in 4.0.00_SP2. From this release, when you create a business expression, the name of its return parameter contains the expression name (instead of its pid) right after creating the business expression. |
| 26680 |
3-Normal |
Naming convention for foreign key attributes isn't documented |
4.0.00_SP1 |
4.0.00_SP2 |
A software bug is fixed and a documentation fix is required: Bug 26654 is fixed and needs documentation |
Documented: Tools -> OJ configuration -> Modeling and Model Generation --> Model Check, Naming Conventions, Character Sets --> Naming convention for foreign key attributes: None or Role Name
When Role Name is used the foreignKey Column names will become: DomainAssociation name + Attribute name, e.g. customerId If None is used it becomes: id
Note this can result in duplicate names e.g. id1 and id, specially when using technical keys. |
| 26686 |
3-Normal |
Documentation should be updated to mention build scripts have to be specifically generated |
4.0.00 |
4.0.00_SP2 |
In OptimalJ 4.0 Build scripts are not generated automatically. They have to be specifically generated via Model -> Generate build scripts option now. This is different from previous releases. |
In online help -> Compiling an OptimalJ application. Before Point 2 (iii), it now mentions that build scripts have to be generated via Model -> Generate build scripts option. |
| 26736 |
3-Normal |
Short(int) compilation errors after migrating application to OJ 4.0 SP1 |
4.0.00_SP1 |
4.0.00_SP2 |
The error occurs when a DomainAttribute of type 'short' has a DomainAttributeConstraint which specifies an upper and/or lower bounds.
In the generated application there is validation code in the formbean and the entity bean which then has compile errors.
In the generated code, there is an attempt to construct a java.lang.Short using the range value, eg. 'new java.lang.Short(0)' which is then used for the range test. However the Short constructor takes a short, not an int. Because an int has higher precision than short, an explicit cast is needed on the int value, ie. 'new java.lang.Short((short)0)' |
Fixed |
| 26740 |
3-Normal |
starteam70.jar no longer available in OptimalJ installation, documentation needs to be updated to reflect this |
4.0.00 |
4.0.00_SP2 |
|
Documentation updated with steps to obtain the jarfile from your starteam installation. |
| 26089 |
4-Minor |
Edit generated files / code / file is empty for a WebScopedContext component |
3.3.01 SP2 |
4.0.00_SP2 |
|
Fixed |
Total number of records: 88