Starts in:
0 DAY
21 HRS
34 MIN
13 SEC
Starts in:
0 D
21 H
34 M
13 S
Open Closed

How can I solve IVersionHelper dependency problem when using ABP Docs Module in tiered application? And also, irregular logo in Docs Module index.cshtml (navbar-logo) #1508


User avatar
0
ElifKaya created

Hi,

I created new tiered application project and added Docs module with using ABP suite platform.Then, I showed Documents view in ABP left menu. When I click my document link, an exception was thrown while activsting Volo.DocsPages.Document.Project.IndexModel.

I thought that the reason of Volo.Docs.GitHub.Documents dependency injection problem and I soved this problem by added "typeof(DocsDomainModule)" to DependsOn attribute in DocsWebModule.cs. And also, I tried this way on our project and it also works. But, I'm not sure about thats a best solution. Can you help me about this?

And also, when I open my project document view, Logo and project names appear on top of each other like this I tried to commend line navbar-logo in index.cshtml but I dont want to change code from doc module project.

Can you help to solve this problem? Thanks ...


4 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @ElifKaya,

    And also, when I open my project document view, Logo and project names appear on top of each other

    As i see, problem is related with Lepton Theme & Docs module. We will check and fix this issue but it may not be ready for v4.4 release.

    Btw, if you will just run Docs module on that project, it would be better to use free & non-tiered template for now.

    (Example CLI commands: abp new SampleProjectName -t app and abp add-module Volo.Docs --with-source-code --add-to-solution-file)

  • User Avatar
    0
    ElifKaya created

    Hi @ElifKaya,

    And also, when I open my project document view, Logo and project names appear on top of each other

    As i see, problem is related with Lepton Theme & Docs module. We will check and fix this issue but it may not be ready for v4.4 release.

    Btw, if you will just run Docs module on that project, it would be better to use free & non-tiered template for now.

    (Example CLI commands: abp new SampleProjectName -t app and abp add-module Volo.Docs --with-source-code --add-to-solution-file)

    Thanks! Actualy, I dont want to try with non-tiered templete because our project based on tiered templete. So, I'll waiting for new version.

    Do you have any answer for my first question?

    "Volo.Docs.GitHub.Documents dependency injection problem and I soved this problem by added "typeof(DocsDomainModule)" to DependsOn attribute in DocsWebModule.cs. And also, I tried this way on our project and it also works. But, I'm not sure about thats a best solution."

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Volo.Docs.GitHub.Documents dependency injection problem and I soved this problem by added "typeof(DocsDomainModule)" to DependsOn attribute in DocsWebModule.cs. And also, I tried this way on our project and it also works. But, I'm not sure about thats a best solution.

    For now, what you have done is a good way to make Docs module work on tiered template. It is not a best practice, but there are some issues with layer separation of this module and therefore you can continue this way. We'll check this issues.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06