Skip to content

[v4.6.0] bug: Overlay .create() changed from optional options to mandatory breaking build #18631

Closed

Description

@JeramieHallyburton

Bug Report

Ionic version:
[x] 4.x

Current behavior:
Any OverlayController instance created using default .create() with no options passed now will not compile.

Expected behavior:
Can create OverlayController instances with no options passed in

Related code:

const loading = await this.loadingCtrl.create() //does not work now

Other information:
image

Change introduced in this commit:

b40f7d3#diff-75f0eda4e2b7a5b00b444247a88a3232

image

Activity

  1. changed the title [-]Overlay .create() changed from optional options to mandatory breaking build[/-] [+]bug: Overlay .create() changed from optional options to mandatory breaking build[/+] on Jun 26, 2019
  2. changed the title [-]bug: Overlay .create() changed from optional options to mandatory breaking build[/-] [+][v4.6.0] bug: Overlay .create() changed from optional options to mandatory breaking build[/+] on Jun 26, 2019
  3. liamdebeasi commented on Jun 27, 2019

    @liamdebeasi
    Contributor

    Thanks for the issue!

    We are currently investigating this change. While we do that, would you be able to provide the output of running ionic info from your project's directory?

    Thanks!

  4. JeramieHallyburton commented on Jun 27, 2019

    @JeramieHallyburton
    Author

    Ionic:

    Ionic CLI : 5.1.0 (C:\Users\jeram\AppData\Roaming\npm\node_modules\ionic)
    Ionic Framework : @ionic/angular 4.6.0
    @angular-devkit/build-angular : 0.800.4
    @angular-devkit/schematics : 8.0.4
    @angular/cli : 8.0.4
    @ionic/angular-toolkit : 1.5.1

    Cordova:

    Cordova CLI : 8.0.0
    Cordova Platforms : none
    Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, (and 4 other plugins)

    Utility:

    cordova-res : not installed
    native-run : not installed

    System:

    Android SDK Tools : 26.1.1 (C:\Program Files (x86)\Android\android-sdk)
    NodeJS : v10.13.0 (C:\Program Files\nodejs\node.exe)
    npm : 6.4.1
    OS : Windows 10

  5. brandyscarney commented on Jul 1, 2019

    @brandyscarney
    Member

    Thanks for the issue! I am going to close this as it has been fixed in Ionic, it will be in the 4.6.1 hotfix release. Please follow #18655 for updates on this. 🙂

  6. ionitron-bot commented on Jul 31, 2019

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  7. locked and limited conversation to collaborators on Jul 31, 2019
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions