Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Relationships are all empty in 7.8.4 and after #659

Open
AlexAVL opened this issue Aug 19, 2021 · 0 comments
Open

Smart Relationships are all empty in 7.8.4 and after #659

AlexAVL opened this issue Aug 19, 2021 · 0 comments

Comments

@AlexAVL
Copy link

AlexAVL commented Aug 19, 2021

Expected behavior

Clicking a smart relationship shows data in the right hand pane.

Actual behavior

Clicking a smart relationship instead shows "No xxx. There are no xxx yet". This happens for all smart relationships.

Failure Logs

n/a

Context

This is a sample with three smart relationships, none of which work in 7.8.4 or after:

const Liana = require('forest-express-mongoose');

Liana.collection('Organisation', {
  fields: [
    {
      field: 'events',
      type: ['String'],
      reference: 'Event.id',
    },
    {
      field: 'locations',
      type: ['String'],
      reference: 'Location.id',
    },
    {
      field: 'servers',
      type: ['String'],
      reference: 'Server.id',
    },
  ],
});

7.8.3 and before works perfectly. No other variables changed.

  • Package Version: 7.8.4
  • Express Version: 4.17.1
  • Mongoose Version: 5.13.7
  • MongoDB Version: 3.6.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant