On 30/01/2013 12:56, Colm O hEigeartaigh wrote:
Hi Francesco,

-                List<String> choices = new ArrayList<String>(
mapConnBundleTO.get(connectorTO.getBundleName()).keySet());
-                version.setChoices(choices);
-                if (choices.size() == 1) {
-                    connectorTO.setVersion(choices.get(0));
-                    version.getField().setModelObject(choices.get(0));
-
  connectorTO.setDisplayName(displayName.getModelObject());
-                    bundleTO = getSelectedBundleTO(mapConnBundleTO,
connectorTO);
-                    properties = fillProperties(bundleTO, connectorTO);
-                }
+                version.setChoices(new
ArrayList<String>(mapConnBundleTO.get(connectorTO.getBundleName()).keySet()));

Was this change intended? It reverted the merge I did to select a single
version number by default.

Sorry Colm, my mistake: yesterday I played a bit hard with SVN merge to cope with SYNCOPE-293 and I thus have involuntarily reverted your commit as well.

Would you like me to fix this or do you already have the fix ready?

Regards.

--
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/

Reply via email to