Skip to content

Choose button remains disbaled for httpd/unix-directory#26061

Merged
PVince81 merged 1 commit into
owncloud:masterfrom
sharidas:choose-btn-disabled-26034
Sep 8, 2016
Merged

Choose button remains disbaled for httpd/unix-directory#26061
PVince81 merged 1 commit into
owncloud:masterfrom
sharidas:choose-btn-disabled-26034

Conversation

@sharidas

@sharidas sharidas commented Sep 7, 2016

Copy link
Copy Markdown
Contributor

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

This is not correct. Hence in this patch we validate
if the mimetype is 'httpd/unix-directory'. If so we
don't disable it.

This patch addresses solution for issue: 26034

Signed-off-by: Sujith Haridasan Sujith_Haridasan@mentor.com

@mention-bot

Copy link
Copy Markdown

@sharidas, thanks for your PR! By analyzing the annotation information on this pull request, we identified @tanghus, @DeepDiver1975 and @butonic to be potential reviewers

@sharidas

sharidas commented Sep 7, 2016

Copy link
Copy Markdown
Contributor Author

@PVince81 Kindly review my change. This is against issue: #26034

@PVince81

PVince81 commented Sep 8, 2016

Copy link
Copy Markdown
Contributor

@sharidas next time please properly fill the PR template, there is a section about "Related issue" and "How did you test it". It's fine for now.

@PVince81

PVince81 commented Sep 8, 2016

Copy link
Copy Markdown
Contributor

Works for the regular use case when entering a folder, but doesn't when clicking a breadcrumb item.

Steps:

  1. Create a folder "test/sub"
  2. Open the file picker with file "httpd/unix-directory"
  3. Click "test": "choose" button will enable itself
  4. Click "sub": button stays enabled
  5. Click on "test" in the breadcrumb row to return back

Expected: button stays enabled
Actual: button disables itself again

@sharidas please have a look, thanks

@sharidas

sharidas commented Sep 8, 2016

Copy link
Copy Markdown
Contributor Author

@PVince81 Sure. From next time onward I will fill the template properly. I got bit shocked by seeing the template in the beginning. Will take care.

This is not correct. Hence in this patch we validate
if the mimetype is 'httpd/unix-directory'. If so we
don't disable it.

This patch addresses solution for issue: 26034

Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
@sharidas sharidas force-pushed the choose-btn-disabled-26034 branch from 3e5d0cf to b0342fa Compare September 8, 2016 09:44
@sharidas

sharidas commented Sep 8, 2016

Copy link
Copy Markdown
Contributor Author

@PVince81 I have updated my patch by validating against the test case shared by you. Kindly review them.

Thanks,
Sujith H

@PVince81

PVince81 commented Sep 8, 2016

Copy link
Copy Markdown
Contributor

Tested, works 👍

@DeepDiver1975

Copy link
Copy Markdown
Member

@PVince81 I'll remove the backport-request - not that critical in my pov and it introduced a regression - not what we want to have

@PVince81

Copy link
Copy Markdown
Contributor

Indeed, we didn't backport the original PR

@lock

lock Bot commented Aug 4, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants