RB private - new/change object fields - Forum - Rollbase - Progress Community

RB private - new/change object fields

 Forum

RB private - new/change object fields

This question is not answered

Hello All,

I have a question if this is a recent bug or an error when upgrading to the version 3.1.3

We're using OE Rest Adapter, but when adding a new field to an object as below, it throws an error.

This is the same when creating a local RB object.

Can someone check if this is the same case?

Thanks.

All Replies
  • Hi Binh,

    What is the version of your private cloud prior to upgrading to 3.1.3? Are you using the installer?

    More importantly, did you use the update script for your database? If you are upgrading from an earlier version, you will need to use multiple scripts, starting with the next version higher than your existing installation and continuing until you reach the 3.1.3 script. You can check and download the database update scripts from this site: https://www.progress.com/products/rollbase/try/try-it/private-cloud.


    Regards,
    Godfrey
  • Hi Godfry,

    We upgraded from RB Private 3.0.4 using the above link as advised.

    Rollbase v3.1.3.0 -

    Configuration Files (rollbase.zip - 17 MB)

    Shared Libraries (lib.zip - 24MB)

    Core Platform Components (webapps.zip - 56MB)

    Database Updates

    3.1.3 - run this SQL script to update to version 3.1.3 released on 2015-01-03

    3.1.0 - run this SQL script to update to version 3.1.0 released on 2014-12-06

    Our Java version is v7 and Tomcat 7.

    Any suggestions is much appreciated.

  • Hi,

    We're managed to by pass the error message by temporarily removing the below section of code in file fieldEdit.jsp.

    <tr>

    <td class='rbs_grayDetailInfoCol' colspan='2'><%=lang.s("Files_uploaded_using_this_field_will_be_a")%></td>

    </tr>

    <tr>

    <td class='rbs_rightLabelWide' nowrap><%=lang.s("Maximum_File_Size")%></td>

    <td class='rbs_leftDataColWide'><select name="fileMaxSize">

    <%

    out.print(a284.getOption(128, "128 KB", defValue));

    out.print(a284.getOption(256, "256 KB", defValue));

    out.print(a284.getOption(512, "512 KB", defValue));

    out.print(a284.getOption(1024, "1 MB", defValue));

    out.print(a284.getOption(2048, "2 MB", defValue));

    out.print(a284.getOption(5120, "5 MB", defValue));

    if (a122.MAX_FILE_BYTE_SIZE > a171.MB*5) {

    out.print(a284.getOption(a122.MAX_FILE_BYTE_SIZE/1024, a123.getFileSizeStr(a122.MAX_FILE_BYTE_SIZE, lang), defValue));

    }

    %>

    </select></td>

    </tr>

    I'm not sure what impact this will have but hopefully helps anyone investigating this issue.

  • Based from the code, you might be removing the "Max File Size" property when updating the file upload fields. I am checking with the internal teams for other possible impact on removing these lines.

    Did you perform the specific instructions in Upgrading to Version 3.1 (http://documentation.progress.com/output/Rollbase/index.html#page/rb/upgrading-to-version-3.1.html)?