Reaction Commerce Forums

Order status labels is required

#1

HI forum,

Can you please guide me why I get this error when I’m trying to send an invitation.

This is in Shop Tab.

Thanks.

#2

It’s a bug.
In rc.10 edit file “\reaction\imports\plugins\core\orders\lib\extendShopSchema.js”
add optional: true to orderStatusLabels. It fix the “invite shop owner issue.”

import { Shop } from "/imports/collections/schemas";

/**
 * @name Shop
 * @memberof Schemas
 * @type {SimpleSchema}
 * @property {Object} orderStatusLabels optional
 */
Shop.extend({
  orderStatusLabels: {
    type: Object,
    blackbox: true,
    optional: true
  }
});
1 Like
#3

Excellent !

I had the same issue, and now that is solved:

reaction_1 | 10:21:35.810Z INFO Reaction: Created shop: nMLP7YHcnWq4zLbL7

But onward to the next issue: the enroll link that I receive on my test email lands me on the “Sign in” page. I then face the dilemma, this new account has no password set and I cannot set it.
I’ll create the next ticket for this.

#4

Thanks it works, it can now send email to the user but next issue is when I tried to go the link given to my email it redirects me to login page which I’m not expecting because I don’t have password set yet.

Please help me to resolve this issue.

Thanks