源English,新增German,当使用PublishingPage.GetVariation(VariationLabel varlabel)出现异常,当English时能得到German,但是German时得不到English,查了半天也不得解...
后来打开Variation logs查了一下,发现在Create Hierarchies时出现了异常:A new page did not get created under Label de-DE by the variation system for source page XXX. The source publishing page is checked out.
出现了异常,但是相应的default.aspx还是存在的,所以不查Log还真不知道,怀疑是因为这个错误导致的,接下去修复这个BUG再进行测试,错误没了,一切正常.
Variation logs
If " Recreate a new target page when the source page is republished. " is enabled. You can republish the checkout page.
You can run the job by manual.
At last the error page will be updated.