Blog Module and Site Groups

Đang mở
#187 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu với BlogModuleController.CheckupOnImportedFiles, điểm vào được nêu trong stack trace, và tái hiện thiết lập Site Groups gồm hai site. Theo dõi cách mô-đun blog phân giải đường dẫn Portals khi được thêm từ Site B. Hoàn tất khi mô-đun tìm thấy các tệp Site Groups được chia sẻ mà không gặp lỗi nghiêm trọng, phù hợp với hành vi mong đợi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Describe the bug

Blog Module 6.5.2 doesn't work with Site Groups.

Software Versions

  • DNN: 09.09.01
  • Module: 06.05.02

To Reproduce

Steps to reproduce the behavior:

  1. Create a site group with two sites(A&B) in it
  2. Add blog module to a site A
    3.GO to Site B and try to add Blog Modules from Site A
  3. After adding the module: A critical error has occurred. Please check the Admin Logs for further details.

The Admin Log shows 4 errors, the first of which is shown below. Notice that it's looking for data in Portals\1\Blogs\Data. The blog module is in /Portals/0 as this is part of a Site broup

Check
08/30/2021 14:49:51
General Exception
host
A
AbsoluteURL /Default.aspx DefaultDataProvider DotNetNuke.Data.SqlDataProvi

AbsoluteURL:/Default.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:7f7c5773-aff4-4db4-b16a-f3b0af20a4bb

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:5H7VA/8H30wCvj19Hp7yi9rIyDg=

Message:Could not find a part of the path 'C:\Users\Joe\Documents\Websites\dnn.9.9.1\Website\Portals\1\Blog\Files\2\164'.

StackTrace:

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1.CommonInit() at System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
at DotNetNuke.Modules.Blog.Integration.BlogModuleController.CheckupOnImportedFiles(Int32 moduleId)
at DotNetNuke.Modules.Blog.Blog.Page_Init1(Object sender, EventArgs e)
at System.Web.UI.Control.OnInit(EventArgs e)
at DotNetNuke.Entities.Modules.PortalModuleBase.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content)
at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at DotNetNuke.UI.Containers.Container.get_ModuleControl()
at DotNetNuke.UI.Containers.Container.ProcessModule()
at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module)

InnerMessage:

InnerStackTrace:

Source:mscorlib

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: Surface-Joe

Expected behavior

Module should find the Site Group module

Screenshots

If applicable, add screenshots to help explain your problem.

Error log

Note: Debug DLL's
Please replace the current extension DLL's with the debug DLL's (if these are available with the release) and reproduce the error with the debug DLL's before pasting the error log.

Paste the error log that is related to this issue.

Additional context

Add any other context about the problem here.

Ngôn ngữ chính
JavaScript
Star
38
Fork
42
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DNNCommunity/DNN.Blog

Tất cả issue của DNNCommunity/DNN.Blog

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.