Support Topics Documentation Slack YouTube Blog

Error with overwrite an objectId when setting a relationship between the tables

Today I had a problem with one of my applications because it no longer allowed me to overwrite an objectId when setting a relationship between the tables, I would like to know if there was any notification to find out that this functionality was no longer going to be working

I have two tables, OrdersStore and Products with 1to 1 relation, the relation column is product in the OrderStore table, I use to do (SDK for javascript):

const GiftOrdersStore = Backendless.Data.of('GiftOrders');
const queryBuilder = Backendless.DataQueryBuilder.create();
 queryBuilder
.setWhereClause('status = 0')
            .setProperties([
                'product.name as name',
                'product.objectId as objectId',
                'product.pictureFile as pictureFile',
                'product.presentation as presentation',
                'Count(product) as productCount'
 ]);
return OrdersStore.find(queryBuilder);

Hello @RAFAEL_PEREZ

Please provide your applicationId.

I reproduced the given issue and created an internal ticket (BKNDLSS-24299).

Hi Vladimir my idapp is : CDD22476-21BB-6D9B-FFA8-69D6D0131400

Hi @RAFAEL_PEREZ

We’ve just updated cloud servers with a fix for the issue described above.Could you kindly let us know whether fix works for you well?

Regards,
Marina