80
Views
4
Comments
Solved
[Webhooks Producer] Compatibility OutSystems UI
webhooks-producer
Web icon
Forge asset by Leonardo Fernandes
Application Type
Traditional Web

Hi Leonardo,

I was going to check this interesting component but the demo seem to be incompatible with the latest OutSystems UI.

The change in the Sample_Product is easy to fix by including the Sample_ProductImage entity.

But I cannot refresh the dependencies between WebhooksDemo and WebhooksDemo_BackOffice for some reason.

Thanks in advance for your help.

Frank

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution

Unfortunately the compilation issue started happening with the OutSystems 11.12 release. This release introduced a bug which affects this component.

Please raise a support case so that OutSystems at least knows that you have been affected by this bug.


The change suggested by Frank is a viable workaround for now: "change the datatype of attribute Id of the Static Entity Type OrderEvents to Text 36".

UserImage.jpg
Frank Speeckaert

Update:

The main problem seems to the WebhooksDemo module which does not compile with following message: 

Internal Error: Invalid compiler output.
Object reference not set to an instance of an object.

Extra Info:
Exception Details:
[1] System.NullReferenceException: Object reference not set to an instance of an object.
at OutSystems.HubEdition.Compiler.MetaModel.MetaModelUpdater.GetEntityIdentifier(IStaticEntity sEnt, AbstractReferenceableStaticRecord record, String& identifierValue, String& identifierStringValue)
at OutSystems.HubEdition.Compiler.MetaModel.MetaModelUpdater.DumpStaticRecords(DBScriptsWriter updateStaticRecordsWriter, DBScriptsWriter deleteStaticRecordsWriter)


UserImage.jpg
Frank Speeckaert

Aside from fixing the  OutSystemsSampleDataDB change: adding the Sample_ProductImage entity to two aggregates and updating the referenced attributes I managed to solve the compiling errors.

In WebhooksDemo change the datatype of attribute Id of the Static Entity Type OrderEvents to Text 36 i.s.o. WebhookEventType Identifier. 

That solves the compiling errors and makes the Applications to install fine.

UserImage.jpg
Anton Polyakov

Hi Frank, can you share your feedback on OML?

I don't have enough knowledge to fix the demo and make it work

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution

Unfortunately the compilation issue started happening with the OutSystems 11.12 release. This release introduced a bug which affects this component.

Please raise a support case so that OutSystems at least knows that you have been affected by this bug.


The change suggested by Frank is a viable workaround for now: "change the datatype of attribute Id of the Static Entity Type OrderEvents to Text 36".

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.