Skip to content

Publish Package does not work #331

Closed

Description

@campersau

Type: Bug

NPE version: master

Installed from: Compiled from source!

  • What is the current result?
    Publishing a package does not work, because the publish button is always disabled.

  • What is the expected result?
    Publish button should not be disabled if all required data is available.

  • Is there a version in which it did worked?
    The bug was introduced by Added an option to the publish window to use Credentials. #256.
    The publish dialog is using a BindingGroup for validation so bindings are not applied until UpdateSources is called. So the IsAuthSet property does never change.

image

Activity

  1. eicthecat commented on Jan 31, 2018

    @eicthecat

    A simple solution is to add the updateSourceTrigger=PropertyChanged on the PublishPackageWindow.xaml file as following :
    PublishPackageWindow.zip

    <TextBox x:Name="PublishKey" VerticalContentAlignment="Center" IsEnabled="{Binding CanPublish}" Margin="0" Text="{Binding PublishKey, UpdateSourceTrigger=PropertyChanged}">

  2. campersau commented on Jan 31, 2018

    @campersau
    CollaboratorAuthor

    Thanks @eicthecat I have provided your solution in a separate commit ca8fad5

    Note: this can also be fixed by #326 which removes the "Credentials" completly.

  3. clairernovotny commented on Feb 13, 2018

    @clairernovotny
    Member

    Fixed by #326

  4. added this to the 4.1 milestone on Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions