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

[linky] Correcting authentication bug #11406

Merged
merged 6 commits into from
Oct 21, 2021
Merged

Conversation

clinique
Copy link
Contributor

issue #10360
Signed-off-by: clinique gael@lhopital.org

Signed-off-by: clinique <gael@lhopital.org>
@clinique
Copy link
Contributor Author

@lolodomo : the problem layed in the absence of a set of headers that I've added. I found back the source that helped me to write this portion

@clinique clinique self-assigned this Oct 18, 2021
@clinique clinique added the bug An unexpected problem or unintended behavior of an add-on label Oct 18, 2021
@clinique clinique linked an issue Oct 18, 2021 that may be closed by this pull request
@lolodomo
Copy link
Contributor

lolodomo commented Oct 18, 2021

@clinique: thank you a lot for this PR, I am going to test it.
Can you at the same time also undo PR #11233 and PR #11266 ?

Edit: the build is even failing if you don't rename the file feature.xml.bak into feature.xml

@lolodomo
Copy link
Contributor

After fixing the problem with feature.xml, build succeeded. jar deployed and the thing is now ONLINE and channels have data.
Super.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
@clinique clinique requested a review from a team as a code owner October 19, 2021 10:38
@lolodomo
Copy link
Contributor

One point remaining before I approve: the if condition related to username. Sorry for confusion I probably introduced.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

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

LGTM

@kaikreuzer kaikreuzer added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Oct 20, 2021
@lolodomo
Copy link
Contributor

lolodomo commented Oct 21, 2021

@clinique : you should check that username, password and authId are not blank too. Because if they are, this will not work.
Please fix that in the thing handler (initialize)

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

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

LGTM
Thank you

@lolodomo
Copy link
Contributor

Build succeeded

@lolodomo lolodomo merged commit 054518e into openhab:main Oct 21, 2021
@lolodomo lolodomo added this to the 3.2 milestone Oct 21, 2021
@clinique clinique deleted the Linky_Issue_10360 branch October 22, 2021 09:45
dschoepel pushed a commit to dschoepel/openhab-addons that referenced this pull request Nov 9, 2021
* Correcting authentication bug (issue openhab#10360)

Signed-off-by: clinique <gael@lhopital.org>

* Reverting PR openhab#11233 & PR openhab#11266

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Addressing @lolodomo feed-back

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* One pointless comment left

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Adding missing test on username

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Reviewing configuration elements nullness and empty checks.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Dave J Schoepel <dave@theschoepels.com>
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this pull request Dec 30, 2021
* Correcting authentication bug (issue openhab#10360)

Signed-off-by: clinique <gael@lhopital.org>

* Reverting PR openhab#11233 & PR openhab#11266

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Addressing @lolodomo feed-back

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* One pointless comment left

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Adding missing test on username

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Reviewing configuration elements nullness and empty checks.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Jan 28, 2022
* Correcting authentication bug (issue openhab#10360)

Signed-off-by: clinique <gael@lhopital.org>

* Reverting PR openhab#11233 & PR openhab#11266

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Addressing @lolodomo feed-back

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* One pointless comment left

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Adding missing test on username

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Reviewing configuration elements nullness and empty checks.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
volkmarnissen pushed a commit to volkmarnissen/openhab-addons that referenced this pull request Mar 3, 2022
* Correcting authentication bug (issue openhab#10360)

Signed-off-by: clinique <gael@lhopital.org>

* Reverting PR openhab#11233 & PR openhab#11266

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Addressing @lolodomo feed-back

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* One pointless comment left

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Adding missing test on username

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Reviewing configuration elements nullness and empty checks.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
* Correcting authentication bug (issue openhab#10360)

Signed-off-by: clinique <gael@lhopital.org>

* Reverting PR openhab#11233 & PR openhab#11266

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Addressing @lolodomo feed-back

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* One pointless comment left

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Adding missing test on username

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Reviewing configuration elements nullness and empty checks.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[linky] Authentication failing (step 3)
3 participants