Skip to content

Conversation

@R0Wi
Copy link
Member

@R0Wi R0Wi commented Oct 12, 2020

The current implementation of RegistrationContext.registerService does not recognize the $shared-parameter correctly because of a typo.
image

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arrrr 🏴‍☠️

@ChristophWurst
Copy link
Member

/backport to stable20

Signed-off-by: Morris Jobke <[email protected]>
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just pushed the code style fix 👍

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 12, 2020
@MorrisJobke MorrisJobke added this to the Nextcloud 21 milestone Oct 12, 2020
]);
}

public function dataProvider_TrueFalse() {
Copy link
Contributor

@kesselb kesselb Oct 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming is a bit uncommon but might be okay for tests.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just the way i name it in my app tests. What would be your suggestion for data provider functions?

Copy link
Member

@ChristophWurst ChristophWurst Oct 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

registerServiceData?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any convention how to name data providers right now. I would prefer to not mix snake_case and camelCase but we can also merge this.

@MorrisJobke
Copy link
Member

CI failures are unrelated and are broken on master as well 🙈

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants