Coder Social home page Coder Social logo

Comments (6)

fm-tibco avatar fm-tibco commented on July 2, 2024

Hi Antonio, I checked in a fix for your issue, please give it a try and let us know if your problem is resolved

from flogo-contrib.

kawatoto avatar kawatoto commented on July 2, 2024

Hi Frank,
Thanks! it solved the previous error but now I'm getting this one:

./activity_test.go:54:10: cannot use tc (type *test.TestActivityContext) as type activity.Context in argument to act.Eval:
	*test.TestActivityContext does not implement activity.Context (missing ActionContext method)
FAIL	_/home/adavilag/go/bin/FTLogo [build failed]

from flogo-contrib.

fm-tibco avatar fm-tibco commented on July 2, 2024

Can you look at the "github.com/TIBCOSoftware/flogo-contrib/action/flow/test/context.go" file and see if you have the following code at line 230

func (c *TestActivityContext) ActionContext() action.Context {
	return c.ACtx
}

from flogo-contrib.

kawatoto avatar kawatoto commented on July 2, 2024

Yes, but it is in line 225

image

from flogo-contrib.

fm-tibco avatar fm-tibco commented on July 2, 2024

Looks like your flogo code might be outdated... take a look at github.com/TIBCOSoftware/flogo-contrib/action/flow/test/context.go

Last line should be 232

from flogo-contrib.

kawatoto avatar kawatoto commented on July 2, 2024

It seems to be working now, thank you!

from flogo-contrib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.