Hi Udara, thank you for the useful information about this fix. We have tried to compile the last version in github of the ES 2.0.1-SNAPSHOT but does not contain the fix to the unbounded table. So we tried to compile the Jaggery and to set in the ES 2.0.1 the jaggery.feature.version property to 0.12.0 (in which the unbounded table bug is fixed) instead of the default 0.11.1 but we had some problems with dependencies.
If it is possible for you we would like: 1. to know when the new stable version of ES 2.0.1 will be released. 2. Receive a link with the compiled version of the ES 2.0.0 or 2.0.1 with the fix to the unbounded table. The last error message is: “Missing requirement: Jaggery Server Feature 0.12.0 (org.jaggeryjs.server.feature.group 0.12.0) requires 'org.wso2.carbon.security.mgt.server.feature.group [5.0.0,5.1.0)' but it could not be found Cannot satisfy dependency: From: Jaggery aggregate Feature 0.12.0 (org.jaggeryjs.feature.group 0.12.0) To: org.jaggeryjs.server.feature.group [0.12.0]” From: Udara Rathnayake [mailto:[email protected]] Sent: Monday, November 16, 2015 3:39 PM To: Luca Mastrangelo <[email protected]> Cc: [email protected] Subject: Re: [Dev] [ES 2.0.0] Issue about creating and editing Unbounded Tables Hi Luca, We have already fixed this issue within Jaggery trunk[1][2] and will be available with the next ES release. [1] https://github.com/wso2/jaggery/commit/f3a4fa2cac6a548a53292326590b548ac542cffe [2] https://github.com/wso2/jaggery/commit/0b47f4f727743efd90c9cb53b0514063e5d8807d Regards, UdaraR On Mon, Nov 16, 2015 at 8:59 AM, Luca Mastrangelo <[email protected]<mailto:[email protected]>> wrote: Dear all, We are about to use the Enterprise Store 2.0.0 in a production environment, so we are performing several tests focusing in particular on its advanced features. Unfortunately we noticed a serious issue that prevents us from effectively using your product. Such issue is related in particular to the creation of new asset instances where both unbounded tables and uploaded files (e.g., thumbnail or banner image) are involved. The issue is described in detail below. Should you need more details about the tests we performed, please do not hesitate to contact us. We look forward to your feedback. Issue description: When a user creates an asset instance with: • more than one value in an unbounded table (e.g., “Item_1”, “Item_2” and “Item_3”) • and one file (e.g., thumbnail image) the instance created is stored with only the last item in the unbounded table (i.e., “Item_1” and “Item_2” are lost) It seems that, in order to correctly store the fields of the asset instance, the user must add “Item_1” and “Item_2” to the unbounded table without adding any file. But if the user updates the instance by updating even just one file, the fields in the unbounded table are lost again. Details about some tests performed: a) New instance for Test Asset (you can see artifactType rxt in the attachments) We created a new artifactType called “test” adding an unbounded table to the rxt of the standard “gadget” artifactType. This is the result visible from the “Creating” page in the ES Publisher (the unbounded table is marked in red): [cid:[email protected]] From the ES Publisher interface we created 2 instances: “Test_noFile” and “Test_withFile”. As their names imply, the only difference between them is that for the “Test_noFile” asset we loaded no file (for thumbnail and banner fields), while for the “Test_withFile” asset we selected an image as thumbnail. Both assets have the same values for all the other fields, and in particular the unbounded table was filled with the values “Item_1”, “Item_2” and “Item_3”. The two assets would have to be identical, but from the Overview screen you can see that “Test_withFile “, the one with the custom thumbnail, has only the last item in the unbounded table, while the “Test_noFile” asset shows correctly the whole table because no file was loaded. Test_noFile Test_withFile [cid:[email protected]][cid:[email protected]] b) Results of two further tests performed on the previous assets: Using the ES Publisher we edited the “Test_noFile” asset (in which the unbounded table worked as expected). We added a custom thumbnail without modifying any other field, then we saved the asset and re-loaded the detail view. Result: Unbounded table does not work anymore. [cid:[email protected]] From the ES Publisher we edited the “Test_withFile” (in which the unbounded table did not work). We re-inserted “Item_1”, “Item_2”, and “Item_3” in the unbounded table without loading any file (keeping the previous custom thumbnail), then we saved the asset and re-loaded the detail view. Result: Unbounded table works. [cid:[email protected]] __________________________________ Luca Mastrangelo Mobile +39 3401542377<tel:%2B39%C2%A0%203401542377> Office +39 0223954 312 Email [email protected]<mailto:[email protected]> Web www.cefriel.com<http://www.cefriel.com/> CEFRIEL - Politecnico di Milano Via R.Fucini, 2 - 20133 Milano - Italy [Cefriel logo] _______________________________________________ Dev mailing list [email protected]<mailto:[email protected]> http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, UdaraR
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
