Hi Luca, I have updated the versions of product-es repository[1] dependencies and commit in the pull request[2]. I havent merge the changes to master branch yet, since we are still working on updating test cases and other fixes.
In order to build a wso2es product with above fixes, follow the below steps. - Build carbon-store repository[3] master - Merge, pull request [2] into [1] locally - And then build [1] [1] https://github.com/wso2/product-es/ [2] https://github.com/wso2/product-es/pull/215 [3] https://github.com/wso2/carbon-store Thanks! -Ayesha On Thu, Nov 19, 2015 at 7:04 PM, Luca Mastrangelo < [email protected]> wrote: > 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]> 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): > > > > > > > > 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* > > > > > > > > > > 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. > > > > > > 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. > > > > > > > > *__________________________________* > > > > *Luca Mastrangelo* > > > > Mobile *+39 3401542377 <%2B39%C2%A0%203401542377>* > > Office *+39 0223954 312* > > Email [email protected] > > Web www.cefriel.com > > > > CEFRIEL - Politecnico di Milano > > Via R.Fucini, 2 - 20133 Milano - Italy > > [image: Cefriel logo] > > > > > _______________________________________________ > Dev mailing list > [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 > > -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> 20, Palmgrove Avenue, Colombo 3 E-Mail: [email protected] <[email protected]>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
