Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 20:18
    kcastro18 closed #8158
  • Jan 31 2019 20:18
    kcastro18 commented #8158
  • Jan 31 2019 20:17

    sebastienros on 1.10.x

    Delete obsolete profile images … (compare)

  • Jan 31 2019 20:17
    sebastienros closed #8157
  • Jan 31 2019 20:13
    sebastienros commented #8158
  • Jan 31 2019 20:03
    Skrypt commented #8158
  • Jan 31 2019 19:47
    kcastro18 commented #8158
  • Jan 31 2019 19:45
    kcastro18 commented #8158
  • Jan 31 2019 19:39
    Skrypt commented #8158
  • Jan 31 2019 19:38
    Skrypt commented #8158
  • Jan 31 2019 19:35
    Skrypt commented #8158
  • Jan 31 2019 15:08
    kcastro18 opened #8158
  • Jan 31 2019 03:39
  • Jan 31 2019 03:39
    yuliang2417535997 starred OrchardCMS/Orchard
  • Jan 31 2019 03:39
    yuliang2417535997 starred OrchardCMS/Orchard
  • Jan 29 2019 21:28
    yanxiaodi starred OrchardCMS/Orchard
  • Jan 29 2019 02:40
  • Jan 28 2019 16:24
    LorenzoFrediani-Laser opened #8157
  • Jan 28 2019 16:02
    LorenzoFrediani-Laser opened #8156
  • Jan 28 2019 15:51
    LorenzoFrediani-Laser starred OrchardCMS/Orchard
Aaron Amm
@aaronamm
image.png
Has anybody know why my PR to Orchard project has been mark to "Ineligible Repository"?
I think I know now only Orchard Core project has been set "hacktoberfest" label.
@Skrypt @sebastienros Could you please add hacktoberfest label to "Orchard" (version 1)?
Thank you so much.
NRGadade
@NRGadade

Hi Team,

We are in process of ADFS to Azure Authentication. We added required code changes for same but after completion of authentication we are not getting home page and its just loading the page again and again with error- Request URL: https://localhost:44300/Users/Account/AccessDenied?ReturnUrl=%2f

Please guide us here OR please let me know if anything needed to check on it.

4 replies
ajeenaraj
@ajeenaraj
We need to implement Azure AD authentication for Orchard CMS 1.10 version. Any help will be appreciated.
shanojkk
@shanojkk
When I render section using {% render_section "Content" %}, OrchardCore inserts addition section and div tags. Is there a way to avoid that?
<section> <!— Inserted by Orchard Core—>
    <div class="container"> <!— Inserted by Orchard Core—>

        <div class="toolkit"> <!— Content —>

            <div class="carousel-container full-width">

            </div> 

        </div> <!— Content —>
    </div>><!— Inserted by Orchard Core—>
</section>
Omid Nasri
@omidnasri
The previous version(Orchard) had the ability to update the modules. Has possibility of updating been added in this version(Orchard Core)?
Aaron Amm
@aaronamm
@sebastienros could you help me finish this PR OrchardCMS/Orchard#8422 please.
NRGadade
@NRGadade

Hi All,

We are trying to implement search configuration in Orchard CMS but its not allowing to save(Asking to update Orchard.JobQueue module). Once we are updating Orchard.JobQueue module DB getting Crashed and getting server not found error(404).

Below is the Logs -
"Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default [(null)]
NHibernate.TransactionException: Transaction not connected, or was disconnected"

Appreciate your help...

1 reply
Karen
@kcastro18
It's been a while the last time I did some testing on my custom modules and I forgot how to manually run an action from the url. I tried [moduleName]/[controller]/action but it's not working and I know I missing something but I can't remember what. Can someone please help me?
3 replies
usmani93
@usmani93
hey all, I need to ask one thing, is there any out of the box reporting module in orchard core admin panel for getting all form submissions in one place? like in tabular form with filters to list all the form submissions in one place?
or we have to develop it our selves?
Jasmin Savard
@Skrypt
If your form submissions create Content Items from a certain Content Type then you can make this Content Type "listable". Though, if you want to have a specific page that lists only this Content Type I'm not sure if you can do this in 01 but in Orchard Core you can.
1 reply
idetoljad
@idetoljad

What is it? An Orchard page is > 50MB???

While other Orchard sites on the Net, less then 1MB with similar complexity.
A page is loading damned slowly. Looking at the html source of this very simple page, it turned out that it is more the 50MB, and it is full of shapeTracingMetadataHost object having a lots of (needless?) data in the placement, html, and model properties.

Part of this stuff is rendered into the page's source in the Orchard.Designer.Tools\Services\TemplatesFilter.cs, in this lines:
var tail = _workContext.Layout.Tail; tail.Add(_shapeFactory.ShapeTracingTemplates());

And in it written into the page in Views\Document.cshtml from Model.Tail.Items..Dump property.

What is it?
What is the purpose of it?
Can it be switched off?

Appreciate your help

idetoljad
@idetoljad
The solution: had to disable the Shape Tracing (admin site / Modules)
66 568 KB -> 95 KB
byhub
@byhub
Hi guys, is there a built-in way to implement a workflow trigger based on a content field change (not for whole whole content item change ) in orhcard 1.10.3? If currently there is no way then how could we implement it, any guess? I appreciate your advice please. @sfmskywalker
2 replies
tombal98
@tombal98
Hi, i'm looking for the best solution using Orchard Core, to make 4 websites sharing some contents, some content types and having also for each website it's own content and theme. What is the best way to do that : using tenants or headless or as a decoupled CMS - Thanks for your answers
ciozmi
@ciozmi

Hi all, and a happy new year 2021. Hopefully this year will be better than the last.
I am having some issues when updating a User password in a workflow, with first state being the "User Logging In".
Let me explain the scenario a bit. I have setup this workflow, in order for the user to first be authenticated by an external web service which I call using a HTTPRequest Activity in the workflow. I have a scenario where the user has changed their password in the external system, but the old password remains in Orchard. I would like to update the password in Orchard when the user has been successfully authenticated by the external webservice.
Below is the "Login" action, as included in Orchard CMS source code in AccountController in Orchard.Users:

        [HttpPost]
        [AlwaysAccessible]
        [ValidateInput(false)]
        [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings",
            Justification = "Needs to take same parameter type as Controller.Redirect()")]
        public ActionResult LogOn(string userNameOrEmail, string password, string returnUrl, bool rememberMe = false) {
            _userEventHandler.LoggingIn(userNameOrEmail, password);

            var user = ValidateLogOn(userNameOrEmail, password);
            if (!ModelState.IsValid) {
                var shape = _orchardServices.New.LogOn().Title(T("Log On").Text);
                return new ShapeResult(this, shape); 
            }

            _authenticationService.SignIn(user, rememberMe);
            _userEventHandler.LoggedIn(user);

            return this.RedirectLocal(returnUrl);
        }

My understanding is that once the _userEventHandler.LoggingIn(userNameOrEmail, password); line is executed, the workflow with "User Logging In" is initiated. In the workflow, I make an HTTP request, which executes the following code:

                    var actUser = _membershipService.GetUser(p_UserName);
                    if (actUser != null)
                    {
                        _membershipService.SetPassword(actUser, p_Password);
                    }

The password is successfully changed, and no error messages are received. The Password and Salt also changes in the "actUser" variable. So far so good. Going back to the "LogOn" function mentioned above, the next line that is executed is var user = ValidateLogOn(userNameOrEmail, password);. Even though the password was changed, it seems that in this function when authenticating the password, it uses the old stored user password, causing an authentication error. Basically to sum up, it seems that the change to the password done in the Workflow is not reflected when calling ValidateLogOn(userNameOrEmail, password);. Keep in mind when I try logging in again, it works as expected. Could this be that the changes to the password are not committed to the database yet? Is there a way to force ValidateLogOn(userNameOrEmail, password); to always get the latest password?
Thank you

^ by the way I am using Orchard CMS 1.10.3
NRGadade
@NRGadade

Hi All,

We have integrated Orchard CMS application from ADFS to Azure Authentication and whenever login OR doing any operation in admin page we are getting Nonce issue. Can you please help to resolve this issue, we tried multiple way like installing NuGet package 'Kentor.OwinCookieSaver', setting flag on chrome to disabled, AD App Registrations with Reply URL and Start URL,.. etc.

Bellow is the error details-
"Server Error in '/' Application.
IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolInvalidNonceException: IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OpenIdConnectProtocolInvalidNonceException: IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.]
Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator.ValidateNonce(OpenIdConnectProtocolValidationContext validationContext) +1013
Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator.ValidateAuthenticationResponse(OpenIdConnectProtocolValidationContext validationContext) +263
Microsoft.Owin.Security.OpenIdConnect.<AuthenticateCoreAsync>d__11.MoveNext() +4494"

ciozmi
@ciozmi
@sfmskywalker you are the workflow expert I presume, any ideas on why the changes to user's password are not applied until after the workflow finishes?
12 replies
NRGadade
@NRGadade

Hi All,

Can anyone please help on below:-
"Server Error in '/' Application.
IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.

ciozmi
@ciozmi
image.png
@sfmskywalker Before ^
image.png
^ After
NRGadade
@NRGadade

Hi All,

We have integrated Orchard CMS application from ADFS to Azure Authentication and whenever login OR doing any operation in admin page we are getting Nonce issue. Can you please help to resolve this issue, we tried multiple way like installing NuGet package 'Kentor.OwinCookieSaver', setting flag on chrome to disabled, AD App Registrations with Reply URL and Start URL,.. etc.

Bellow is the error details-
"Server Error in '/' Application.
IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolInvalidNonceException: IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OpenIdConnectProtocolInvalidNonceException: IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.]
Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator.ValidateNonce(OpenIdConnectProtocolValidationContext validationContext) +1013
Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator.ValidateAuthenticationResponse(OpenIdConnectProtocolValidationContext validationContext) +263
Microsoft.Owin.Security.OpenIdConnect.<AuthenticateCoreAsync>d__11.MoveNext() +4494"

Daniel Bogdan
@bogdandanielb
Hey guys, Did you experience this issue with basic blog recipe? "One or more compilation references may be missing. If you're seeing this in a published application, set 'CopyRefAssembliesToPublishDirectory' to true in your project file to ensure files in the refs directory are published."
Daniel Bogdan
@bogdandanielb
Nevermind, i got latest from previews and seems fixed.
Patrik Volka
@patrikvolka
Hi, I'm trying to create a workflow that updates another content item after updating one content item. In the first step, I want to get the Id of the item from the updated item, which will be further updated. Example: Item A also contains the Id of item B. The workflow must start when item A is updated. I search for item B using the ID that is inserted in the content of item A, and then item B is updated.
How to call up the content field from item A, e.g. Content.Order.CarID.Text?
Sam
@samueldavidson
We are using legacy Orchard 1.10.3. Is it possible to enable reverse proxy on it? Can someone point me to any documentation on this? Thank you!
NRGadade
@NRGadade

Hi All,

We have integrated Orchard CMS application from ADFS to Azure Authentication and whenever login OR doing any operation in admin page we are getting Nonce issue. Can you please help to resolve this issue, we tried multiple way like installing NuGet package 'Kentor.OwinCookieSaver', setting flag on chrome to disabled, AD App Registrations with Reply URL and Start URL,.. etc.

Bellow is the error details-
"Server Error in '/' Application.
IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolInvalidNonceException: IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OpenIdConnectProtocolInvalidNonceException: IDX21323: RequireNonce is '[PII is hidden]'. OpenIdConnectProtocolValidationContext.Nonce was null, OpenIdConnectProtocol.ValidatedIdToken.Payload.Nonce was not null. The nonce cannot be validated. If you don't need to check the nonce, set OpenIdConnectProtocolValidator.RequireNonce to 'false'. Note if a 'nonce' is found it will be evaluated.]
Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator.ValidateNonce(OpenIdConnectProtocolValidationContext validationContext) +1013
Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator.ValidateAuthenticationResponse(OpenIdConnectProtocolValidationContext validationContext) +263
Microsoft.Owin.Security.OpenIdConnect.<AuthenticateCoreAsync>d__11.MoveNext() +4494"

Tsprague101
@Tsprague101
Orchard CMS version 1.10 - how would I sort contentitems by owner.username?
ciozmi
@ciozmi
Is there any place or way I can receive support?
paid or otherwise?
I need a fix or troubleshooting for the issue I have posted above
and I have not problem paying for it if there is a fee
please contact me asap Orchard team
ciozmi
@ciozmi
@Piedone @BenedekFarkas
Jasmin Savard
@Skrypt
@ciozmi You can also ask the guys from Lazer and open up an issue on Orchard repository. Though Kentor.OwinCookieSaver
It's been deprecated and has a lot of critical bugs reported.
So the issue is maybe there.
When this library was created, back in 2014, this was a viable solution to the Owin Cookie problem. It no longer is. Please do not use it, instead follow the Microsoft Recommendation to use a SystemWebCookieManager.
Zoltán Lehóczky
@Piedone
@ciozmi feel free to get in touch with us, we'd be happy to discuss support: https://lombiq.com/contact-us
AmadeuAntunes
@AmadeuAntunes
Someone know how to reset admin password for orchard?
1 reply
ciozmi
@ciozmi
Is there a way to force logout all Orchard Users?
ciozmi
@ciozmi
for anyone interested, it can be done easily by changing the name property in the authentication->form element in the web.config, as shown here https://stackoverflow.com/a/23344395/3782469