function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DarrellDDarrellD 

Prefix cannot be specified if namespace is not specified

Any thoughts on what this error might mean? We developed a beta managed pacakage and installed into Sandbox. Install went fine, but when we use a custom button in the package that calls a VF page getting "Prefix cannot be specified if namespace is not specified" error. 

The button and VF page are part of the package so namespace is obviously included. Namespace is 'OneOut'. Might it be the HREF? Page is below.

<apex:page standardController="OneOut__AuditSetting__c" extensions="OneOut.Mturk_GenerateHitAuditSettingController" action="{!Generate}">
  Back to Record : <a href="/{!OneOut__AuditSetting__c.Id}">{!OneOut__AuditSetting__c.Name}</a> <br/>
 <apex:pageMessages />
</apex:page>

Ramu_SFDCRamu_SFDC
The following post might be helpful
https://developer.salesforce.com/forums/ForumsMain?id=906F00000008mkLIAQ
DarrellDDarrellD
I took at look at this but doesn't explain the error. This was talking bit more about pulling in the namespace in different situations.