0

我无法在 Genexus 中实现深层链接。我在 .NET 中使用 U8 版本的 Genexus 15,带有一个离线应用程序和一些在线对象。

当我输入托管应用程序的 url 并计算将在“深度链接基础 URL”属性中引用 SD 对象的 web 面板时,我得到以下信息:

'========== Build lasttime started ==========
========== Copying Module 'GeneXus' started ==========
Copying Module 'GeneXus' Success
========== Integrated Security Initialization started ==========
Integrated Security Initialization Success
========== GAM Applications Registration started ==========
No new applications for registration.
GAM Applications Registration Success
Processing lasttime
========== Target Environment update started ==========
Target Environment update Success
Building changed objects list
========== Specification started ==========
 Specifying lasttime_Level_Detail_Grid1 ...
warning spc0038: There is no index for order (eventoData); poor performance may be noticed in grid Grid1. (Panel for Smart Devices 'lasttime', Details)
Generating Resources...Processing inferred calls...
Success
========== Default (C# Web) Generation started ==========
Specification Success
Generating Resources...Success
Generating to NET\web\lasttime_level_detail_grid1.cs
Generating to NET\web\lasttime_level_detail_grid1.svc
Generating to NET\web\gxrowlevelcache.cs
Generating to NET\web\gxcfg.js
Generating to NET\web\GXCFG.WEB
Generating to NET\web\client.exe.config
Generating to NET\web\WCFClient.config
Generating to NET\web\gxmetadata\gxversion.json
Generating to NET\web\bldDevelopermenu.cs
Generating to NET\web\bldlasttime.cs
Generating to NET\web\runsets.ini
Generating to NET\web\genexus.programs.common.rsp
Generating to NET\web\exe.bld
Generating to NET\web\winexe.bld
Generating to NET\web\library.bld
Generating to NET\web\bld15.info
Default (C# Web) Generation Success
Compressing static files...Success
========== SmartDevices (Smart Devices) Generation started ==========
Generating metadata files...
Writing metadata for lasttime (android)
Applying Root Project
Applying Bootstrapping for:lasttime
Generating Android theme styles...
error: Não é possível converter um objeto do tipo Artech.Genexus.Common.CustomTypes.FileType no tipo System.String.
SmartDevices (Smart Devices) Generation Failed
Build lasttime Failed'

有没有人遇到过这个问题,或者它已经能够毫无问题地使用深层链接?

登录 windows 事件查看器:

'Timestamp: 17/01/2018 23:47:23
Message: HandlingInstanceID: ca46dd55-a9d6-4400-b571-826b0b8e6628
An exception of type Artech.Common.Diagnostics.GxException occurred and was caught.
01/17/2018 23:47:23
Type : Artech.Common.Diagnostics.GxException, Artech.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=6f5bf81c27b6b8aa
Message : Não é possível converter um objeto do tipo Artech.Genexus.Common.CustomTypes.FileType no tipo System.String.
Source : 
Help link : 
Exception Data
Product : GeneXus 15
Version : 15.0.119728 U8
Exception.Severity : Warning
TargetSite : 
HResult : -2146232832
Stack Trace : The stack trace is unavailable.
Additional Info:

MachineName : GABRIEL-HP
TimeStamp : 18/01/2018 01:47:23
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=79a65ef946496ecc
AppDomainName : GeneXus.exe
ThreadIdentity : GABRIEL-HP\Gabriel Mariano
WindowsIdentity : GABRIEL-HP\Gabriel Mariano
    Inner Exception
    ---------------
    Type : System.InvalidCastException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Não é possível converter um objeto do tipo Artech.Genexus.Common.CustomTypes.FileType no tipo System.String.
    Source : Artech.Common.Properties
    Help link : 
    TargetSite : T GetPropertyValue[T](System.String)
    HResult : -2147467262
    Stack Trace :    at Artech.Common.Properties.PropertiesObject.GetPropertyValue[T](String propName)
       at Artech.Generator.SmartDevices.CustomGenerators.AndroidCreateAssetLinks.KSDsdhn36l()
       at Artech.Generator.SmartDevices.CustomGenerators.AndroidCreateAssetLinks.Generate(Object data, IDictionary`2 context)
       at Artech.Generators.GeneratorEngine.<>c__DisplayClass29_0.<RunInstanceSpecificGenerators>b__0(FilterAndGenerator gen)
       at System.Collections.Generic.List`1.TrueForAll(Predicate`1 match)
       at Artech.Generators.GeneratorInstance.ApplyStrategies(GeneratorApply[] strategies, IDictionary`2 context)
       at Artech.Generators.GeneratorEngine.ApplyStrategies(String target, IObjectListCommand data, IDictionary`2 context)


Category: Default Category
Priority: 0
EventId: 100
Severity: Warning
Title:Genexus Application Exception
Machine: GABRIEL-HP
Application Domain: GeneXus.exe
Process Id: 5836
Process Name: C:\Program Files (x86)\GeneXus\GeneXus15\GeneXus.exe
Win32 Thread Id: 11504
Thread Name: InProcessDaemon-26
Extended Properties: AdvancedInformation.Product - GeneXus 15
AdvancedInformation.Version - 15.0.119728 U8
Exception.Severity - Warning'
4

1 回答 1

0

这是 GeneXus 中的一个错误,参考文献:SAC 42801。它已经被修复了。修复将首先在 GeneXus Tero Beta 频道(内部版本 120455 或更高版本)中提供,然后在GeneXus 预览频道中提供。感谢您的报告!

于 2018-01-18T21:44:29.670 回答