Open Closed

The Volo.Docs module doesn't support article with more than 2000 chars for "Filesystem" document project #7593


User avatar
0
alexander.nikonov created
  • ABP Framework version: v8.1.3
  • UI Type: Angular
  • Database System: EF Core (Oracle)
  • Auth Server Separated

We created ABP project and added Volo.Docs module as described in the tutorial. The next step was configuring a document project for "FileSystem" and creating a file with the article.

We faced the following error when trying to go to this article:

ORA-12899 value too large for column "ABDEV"."DOCSDOCUMENT"."CONTENT" (actual: 2501, maximum: 2000).

Why is the file content stored in DB instead of file system? And how this limitation can be avoided? Just to anticipate some your questions: the project is commercial and we cannot share the source code.


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    ABP uses the database as a cache.

    you can simply change the field length

  • User Avatar
    0
    alexander.nikonov created

    Is there a way to turn off DB storage instead? We're going to have many large articles and prefer to deal with the file system directly.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Volo.Docs module is opensource : https://github.com/abpframework/abp/tree/dev/modules/docs/src

    you can custom it to always get docs from file system

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35