• Albert Barbieri
  • NEWBIE
  • 20 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
I am unable to validate the challenge for "Implement the Flow with Visualforce" in the new "Build an Account Reassignment Wizard" module.

I keep getting the error message "Challenge Not yet complete... here's what's wrong: Couldn't find two users in your org with a 'Salesforce' license. Check the instructions".

The instructions say to give one user a Salesforce license and the second user a Salesforce Platform license. I tried to give the second user a Salesforce license, but there is only one free Salesforce license as the environment only comes with two and one is automatically assigned to the created administrator account.

Can anyone tell me how I can resolve this issue?
I am having an issue verifying the Prevent Open Redirect Challenge. The code I put into the VF page is actually working correctly, but the verify is coming back with a standard error message.
 
Also I happen to notice that the code displayed for the "Force Local Redirects Only" section on the trailhead page for "Prevent Open Redirects in Your Code" is inconsistent and possibly in error.
 
In the larger code display it shows the line (09) as being
 
           completion.replaceFirst('/','');
 
but in the follow on description it shows that line of code to be
 
completion.replaceFirst('/+','');
 
And according to the documentation for the ReplaceFirst method it returns a string with the desired changes and does not change the target string. That would seem to indicate that the code in the example given in the module content given is not going to actually remove any initial '/' from completion.
 
The code I put in the VF page which is working, but not verifying for the "Check Challenge" is
 
              if(finishURL.startsWith('/')){ 
                    finishURL = finishURL.replaceFirst('/+',''); 
                    }
                savePage = new PageReference('/'+finishURL);
 
Can someone tell me what I need to change in order to get past this challenge? I have actually completed all the other challenges for this module so this is holding up my completion of this particular module.
 
Thanks in advance for any assistance!
I am unable to validate the challenge for "Implement the Flow with Visualforce" in the new "Build an Account Reassignment Wizard" module.

I keep getting the error message "Challenge Not yet complete... here's what's wrong: Couldn't find two users in your org with a 'Salesforce' license. Check the instructions".

The instructions say to give one user a Salesforce license and the second user a Salesforce Platform license. I tried to give the second user a Salesforce license, but there is only one free Salesforce license as the environment only comes with two and one is automatically assigned to the created administrator account.

Can anyone tell me how I can resolve this issue?
I am unable to validate the challenge for "Implement the Flow with Visualforce" in the new "Build an Account Reassignment Wizard" module.

I keep getting the error message "Challenge Not yet complete... here's what's wrong: Couldn't find two users in your org with a 'Salesforce' license. Check the instructions".

The instructions say to give one user a Salesforce license and the second user a Salesforce Platform license. I tried to give the second user a Salesforce license, but there is only one free Salesforce license as the environment only comes with two and one is automatically assigned to the created administrator account.

Can anyone tell me how I can resolve this issue?
I am having an issue verifying the Prevent Open Redirect Challenge. The code I put into the VF page is actually working correctly, but the verify is coming back with a standard error message.
 
Also I happen to notice that the code displayed for the "Force Local Redirects Only" section on the trailhead page for "Prevent Open Redirects in Your Code" is inconsistent and possibly in error.
 
In the larger code display it shows the line (09) as being
 
           completion.replaceFirst('/','');
 
but in the follow on description it shows that line of code to be
 
completion.replaceFirst('/+','');
 
And according to the documentation for the ReplaceFirst method it returns a string with the desired changes and does not change the target string. That would seem to indicate that the code in the example given in the module content given is not going to actually remove any initial '/' from completion.
 
The code I put in the VF page which is working, but not verifying for the "Check Challenge" is
 
              if(finishURL.startsWith('/')){ 
                    finishURL = finishURL.replaceFirst('/+',''); 
                    }
                savePage = new PageReference('/'+finishURL);
 
Can someone tell me what I need to change in order to get past this challenge? I have actually completed all the other challenges for this module so this is holding up my completion of this particular module.
 
Thanks in advance for any assistance!