Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/EmailModuleWithTemplates/Email module with templates.mpr
Binary file not shown.
Binary file modified src/EmailModuleWithTemplates/Email module with templates.mpr.bak
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,17 @@ public static void decryptFile( InputStream in, OutputStream out, InputStream ke
//
// find the secret key
//
Iterator<PGPPublicKeyEncryptedData> it = enc.getEncryptedDataObjects();
Iterator<PGPEncryptedData> it = enc.getEncryptedDataObjects();
PGPPrivateKey sKey = null;
PGPPublicKeyEncryptedData pbe = null;

while( sKey == null && it.hasNext() ) {
pbe = it.next();
PGPEncryptedData data = it.next();
if (data instanceof PGPPublicKeyEncryptedData) {
pbe = (PGPPublicKeyEncryptedData) data;

sKey = findPrivateKey(keyIn, pbe.getKeyID(), passwd);
sKey = findPrivateKey(keyIn, pbe.getKeyID(), passwd);
}
}

if ( sKey == null ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
package mxmodelreflection.actions;

import mxmodelreflection.TokenReplacer;
import com.mendix.core.Core;
import com.mendix.systemwideinterfaces.core.IMendixObject;
import com.mendix.systemwideinterfaces.core.IContext;
import com.mendix.webui.CustomJavaAction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@

package mxmodelreflection.actions;

import mxmodelreflection.DataParser;
import mxmodelreflection.proxies.AttributeTypes;
import mxmodelreflection.proxies.TestPattern;
import mxmodelreflection.proxies.Token;
import com.mendix.systemwideinterfaces.MendixRuntimeException;
import com.mendix.systemwideinterfaces.core.IContext;
import com.mendix.systemwideinterfaces.core.IMendixObject;
import com.mendix.systemwideinterfaces.core.IMendixObjectMember;
import com.mendix.webui.CustomJavaAction;
import com.mendix.webui.FeedbackHelper;
import com.mendix.systemwideinterfaces.core.IMendixObject;
import java.util.Optional;
import mxmodelreflection.DataParser;
import mxmodelreflection.proxies.AttributeTypes;
import mxmodelreflection.proxies.TestPattern;

public class TestThePattern extends CustomJavaAction<java.lang.Boolean>
{
Expand Down Expand Up @@ -66,6 +65,8 @@ public java.lang.Boolean executeAction() throws Exception
case IntegerType:
memberName = TestPattern.MemberNames.IntegerAttribute;
break;
default:
throw new MendixRuntimeException("Unsupported Type : "+attributeType);
}

if (memberName != null) {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.