Post Closed
25
Views
3
Comments
Solved
[Internal App Store Reactive] UpdateApplication is invoked while record does not have an ApplicationId set.
Question
internal-app-store-reactive
Reactive icon
Forge asset by Experts

Hi team,

While discovering the features of this component, I found out that I am unable to register a new application when I don't have a Application Link set. The following error is being raised:
[FUOXXT038].DBO.[OSUSR_GJ4_APPLICATION] with key 0 was not updated

This happens in App_CreateUpdate:



The Application Input record does not have an ApplicationId set, due to the fact this is a new Application. The output ApplicationId of Application_CreateUpdate is not set in the record Application after that node, and the Application_Update is not checking for ApplicationId <> nullidentifier(), causing a database error.

Could you have a look at this and update the component?

Thanks in advance,

Rob

2016-11-04 00-37-21
Experts
Staff
Solution

Rob, 

Thanks for reporting the issue and for digging in to give detailed inputs. 

Problem solved and a new version was submitted

Regards!

UserImage.jpg
Philipp Reichling

Rob Mooijman wrote:


The Application Input record does not have an ApplicationId set, due to the fact this is a new Application. The output ApplicationId of Application_CreateUpdate is not set in the record Application after that node, 

Is it not set for the Application you give to Application_CreateUpdate? For any create Action you should be able to retreive the ID of the created entry as an output value. I am not sure those actions meddle with the actual record you hand them to create in the database, but instead return the id of a new entry in the database.

With that you should be able to manually set it via an assignment node.


2016-11-04 00-37-21
Experts
Staff
Solution

Rob, 

Thanks for reporting the issue and for digging in to give detailed inputs. 

Problem solved and a new version was submitted

Regards!

2015-12-10 21-59-38
Rob Mooijman

Thanks team!