Bug #5948
closedDuplicates in a repeater are not allowed while creating chained lifecycle environments
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1077886
Description of problem:
Version-Release number of selected component (if applicable):
- apr-util-ldap-1.3.9-3.el6_0.1.x86_64
- candlepin-0.8.25-1.el6sam.noarch
- candlepin-scl-1-5.el6_4.noarch
- candlepin-scl-quartz-2.1.5-5.el6_4.noarch
- candlepin-scl-rhino-1.7R3-1.el6_4.noarch
- candlepin-scl-runtime-1-5.el6_4.noarch
- candlepin-selinux-0.8.25-1.el6sam.noarch
- candlepin-tomcat6-0.8.25-1.el6sam.noarch
- elasticsearch-0.90.10-4.el6sat.noarch
- foreman-1.5.0.8-1.el6sat.git.2.0ef68aa.noarch
- foreman-postgresql-1.5.0.8-1.el6sat.git.2.0ef68aa.noarch
- foreman-proxy-1.5.2-1.el6sat.noarch
- foreman-selinux-1.5.0-0.develop.el6sat.noarch
- katello-1.5.0-17.el6sat.noarch
- katello-apache-1.0-1.noarch
- katello-ca-1.0-1.noarch
- katello-certs-tools-1.5.4-1.el6sat.noarch
- katello-installer-0.0.28-1.el6sat.noarch
- openldap-2.4.23-32.el6_4.1.x86_64
- pulp-katello-plugins-0.2-1.el6sat.noarch
- pulp-nodes-common-2.3.1-0.4.beta.el6sat.noarch
- pulp-nodes-parent-2.3.1-0.4.beta.el6sat.noarch
- pulp-puppet-plugins-2.3.1-0.4.beta.el6sat.noarch
- pulp-rpm-plugins-2.3.1-0.4.beta.el6sat.noarch
- pulp-selinux-2.3.1-0.4.beta.el6sat.noarch
- pulp-server-2.3.1-0.4.beta.el6sat.noarch
- python-ldap-2.3.10-1.el6.x86_64
- ruby193-rubygem-ldap_fluff-0.2.2-2.el6sat.noarch
- ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
- ruby193-rubygem-runcible-1.0.8-1.el6sat.noarch
How reproducible:
Steps to Reproduce:
0. Make sure to use Firebug
1. Create a new org and select it from the Context selector
2. Add a new DEV lifecycle environment with Library prior to it
3. Add a new QE lifecycle environment with DEV prior to it
Actual results:
Firebug should show a massive error
Expected results:
Additional info:
Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: alert in alerts[type], Duplicate key: string:Create Successful.
http://errors.angularjs.org/1.2.9/ngRepeat/dupes?p0=alert%20in%20alerts%5Btype%5D&p1=string%3ACreate%20Successful.
minErr/<@https://SERVER/assets/bastion/bastion-14d5cfec3ba3d848256f0870bbd5f4a1.js:5
ngRepeatAction@https://qeblade35.rhq.lab.eng.bos.redhat.com/assets/bastion/bastion-14d5cfec3ba3d848256f0870bbd5f4a1.js:10
$watchCollectionAction@https://qeblade35.rhq.lab.eng.bos.redhat.com/assets/bastion/bastion-14d5cfec3ba3d848256f0870bbd5f4a1.js:8
$RootScopeProvider/this.$get</Scope.prototype.$digest@https://SERVER/assets/bastion/bastion-14d5cfec3ba3d848256f0870bbd5f4a1.js:8
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://qeblade35.rhq.lab.eng.bos.redhat.com/assets/bastion/bastion-14d5cfec3ba3d848256f0870bbd5f4a1.js:8
done@https://SERVER/assets/bastion/bastion-14d5cfec3ba3d848256f0870bbd5f4a1.js:7
completeRequest@SERVER/assets/bastion/bastion-14d5cfec3ba3d848256f0870bbd5f4a1.js:7
createHttpBackend/</xhr.onreadystatechange@SERVER/assets/bastion/bastion-14d5cfec3ba3d848256f0870bbd5f4a1.js:7
https://SERVER/assets/bastion/bastion-14d5cfec3ba3d848256f0870bbd5f4a1.js
Line 8