Comments (4)
Yes
from orchardcore.
Latest main
?
from orchardcore.
I think this is a limitation of the extension method used. If you look at the implementation, it does not use the HttpContext when generating the URL
The problem with that for us is that the URL-prefix will never be considered here since this is something we add to the HttpContext.
The workaround is to use the extension method that accepts the HttpContext as the first argument.
So instead of doing this
var url = _linkGenerator.GetPathByAction("Index", "Admin", new { area = "OrchardCore.Settings", groupId = "admin" });
do this
var url = _linkGenerator.GetPathByAction(_httpContextAccessor.HttpContext, "Index", "Admin", new { area = "OrchardCore.Settings", groupId = "admin" });
from orchardcore.
Related Issues (20)
- ConcurrencyException raised by ContentDefinitionManager HOT 10
- Infinite recursion when Content Picker Field references its own parent item with displaying shape override HOT 2
- `JsonDynamicValue' does not contain a definition for 'ToObject' HOT 7
- About enabling features in the setup recipe HOT 3
- Sanitization is causing some shortcodes to not render correctly in the MarkdownBody HOT 13
- Recipes Improvements HOT 19
- Add ExposedHeaders in CORS module HOT 5
- razor view does allow dynamic casting of property values using system.text.json HOT 21
- [LinkField] Add option to select the Target - _blank, _self, _parent and _top HOT 9
- Migration type identification error HOT 9
- Generalize options editor HOT 4
- OrchardCore_Media__AssetsPaths says it supports absolute paths but doesn't HOT 2
- Notification editor doesn't close when saving a draft HOT 13
- Saving workflow fails when using decimal comma (,) HOT 7
- Solution load fails
- OrchardCoreCmsWeb Only runs one time, second run giving page not found error HOT 11
- Getting value from JsonDynamicValue in Jint HOT 8
- ShellScope RegisterBeforeDispose should support sequential inserts HOT 3
- Rebuilding elastic index takes a lot of time HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orchardcore.