• rangambr
  • NEWBIE
  • 15 Points
  • Member since 2012
  • Mr
  • Xactium


  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 5
    Replies
Hi,

One of our clients full sandbox (cs11) upgraded to winter 15 recently and there seems to be a namespace issue since then.

We have a managed app installed in this org and whenever SOQL is executed on a object in this manage package now it complains that object lookup is not found ("No such column on entity" ) All worked fine till this weekend and it seems strange why it is not working now.

It will be great if someone could provide some help on this.

Many thanks.
Hi,

One of our clients full sandbox (cs11) upgraded to winter 15 recently and there seems to be a namespace issue since then.

We have a managed app installed in this org and whenever SOQL is executed on a object in this manage package now it complains that object lookup is not found ("No such column on entity" ) All worked fine till this weekend and it seems strange why it is not working now.

It will be great if someone could provide some help on this.

Many thanks.
Hi,

One of our clients full sandbox (cs11) upgraded to winter 15 recently and there seems to be a namespace issue since then.

We have a managed app installed in this org and whenever SOQL is executed on a object in this manage package now it complains that object lookup is not found ("No such column on entity" ) All worked fine till this weekend and it seems strange why it is not working now.

It will be great if someone could provide some help on this.

Many thanks.

I have an apex component in which the constructor in the controller is exectuting twice. I have made all the pages and classes as simple as possible to reproduce and this is what we have:

 

The Page

<apex:page >	
    <c:myComponent />
</apex:page>

 

The Component

<apex:component controller="MyController" >
    <apex:form >
        <apex:actionFunction name="thisIsMyName" action="{!doSomething}"  />	
    </apex:form>
</apex:component>

 

The Controller

public class MyController {
	
    //Constructor
    public MyController(){
        system.debug('I am a constructor and I am executing multiple times to drive you crazy.');
    }
    
    public void doSomething(){
    	//Blah blah blah
    }

}

 

The Debug Log

23.0 APEX_CODE,DEBUG
18:56:46.028 (28871000)|EXECUTION_STARTED
18:56:46.028 (28903000)|CODE_UNIT_STARTED|[EXTERNAL]|066500000008tEE|VF: /apex/mypage
18:56:46.039 (39198000)|CODE_UNIT_STARTED|[EXTERNAL]|01p50000000DYoB|MyController <init>
18:56:46.039 (39850000)|METHOD_ENTRY|[1]|01p50000000DYoB|MyController.MyController()
18:56:46.039 (39939000)|METHOD_EXIT|[1]|MyController
18:56:46.041 (41245000)|USER_DEBUG|[5]|DEBUG|I am a constructor and I am executing multiple times to drive you crazy.
18:56:46.041 (41308000)|CODE_UNIT_FINISHED|MyController <init>
18:56:46.041 (41830000)|CODE_UNIT_STARTED|[EXTERNAL]|01p50000000DYoB|MyController <init>
18:56:46.041 (41872000)|USER_DEBUG|[5]|DEBUG|I am a constructor and I am executing multiple times to drive you crazy.
18:56:46.041 (41894000)|CODE_UNIT_FINISHED|MyController <init>
18:56:46.071 (71248000)|CODE_UNIT_FINISHED|VF: /apex/mypage
18:56:46.071 (71263000)|EXECUTION_FINISHED

Any ideas why this is happening. It is making me go a little crazy.

 

If I move everything that is in the component directly to the page it will only execute once, as expected, but I need use components.

 

Thanks,

Jason

  • April 29, 2012
  • Like
  • 1

In a standard salesforce pages there is a way to filter/Sort the list based on staring Letter. This is precisely the requirement which was required to be built for custom visualforce page. I built a page and class which would do this functionality

 

click here to check the visualforce page and the controller to built the list