Skip to content

ng-for and ng-if break with transformer generated change detectors #2984

Closed

Description

@jakemac53

#2981 provides a test which fails. https://gist.github.com/jakemac53/675fdedad5ce469d292f is an simple example which will fail under the transformer.

Activity

  1. vsavkin commented on Jul 10, 2015

    @vsavkin
    Contributor

    The actual issue:

    The DOM adapter used by the compiler used in the DirectiveProcessor transformer incorrectly reflects on the elements. The adapter cannot detect properly what properties a DOM element has. This problem manifests via change detection.

  2. added this to the alpha-32 milestone on Jul 10, 2015
  3. removed their assignment
    on Jul 10, 2015
  4. matanlurey commented on Jul 13, 2015

    @matanlurey
    Contributor

    Is anyone tackling this? @tbosch mentioned something about registering a Schema last week.

  5. vsavkin commented on Jul 13, 2015

    @vsavkin
    Contributor

    @matanlurey we'll figure out a plan today. It looks like providing a schema would be a proper solution, but it may take some time. We may have to provide a temporary solution to unblock @jakemac53.

  6. yjbanov commented on Jul 13, 2015

    @yjbanov
    Contributor

    Assigned to @tbosch as he is already looking into the reflection issue.

  7. tbosch commented on Jul 13, 2015

    @tbosch
    Contributor

    Have a PR up, should go in today.

  8. added a commit that references this issue on Jul 13, 2015
    d50f8e7
  9. modified the milestone: alpha-32 on Jul 13, 2015
  10. kevmoo commented on Jul 14, 2015

    @kevmoo
    Contributor

    Verified on 97ef1c2 with Dartium. Awesome! 🤘

  11. matanlurey commented on Jul 14, 2015

    @matanlurey
    Contributor

    👍 looks good thanks guys.

  12. jakemac53 commented on Jul 14, 2015

    @jakemac53
    ContributorAuthor

    todomvc works with the transformer now as well :)

  13. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  14. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions