You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Tim Ruppert <ti...@hotwaxmedia.com> on 2007/10/23 01:41:21 UTC
Content Permissions
Since I upgrade this weekend, I'm having an issue with a user in
production not being able to add new content via the catalog manager -
> Product -> Content subpane. Not sure what it is, but it looks to
be related to some of the refactoring that's been going on around
perms :)
All seed data has been updated - Adrian, is there some other perm
that I missed that needs to be granted to these people so they don't
end up with a stack trace that looks like the following:
The Following Errors Occurred:
ERROR: Could not complete the Create Simple Text Content [file:/BLAH/
applications/content/script/org/ofbiz/content/content/
ContentServices.xml#createSimpleTextContent] process [problem
invoking the [createDataResource] service with the map named
[createSimpleTextDataResource] containing [{locale=en_US,
timeZone=sun.util.calendar.ZoneInfo[id="America/
Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,transition
s=235,lastRule=java.util.SimpleTimeZone[id=America/
Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startYear=0
,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,
startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=72
00000,endTimeMode=0]], hasPermission=true, dataTemplateTypeId=FTL,
localeString=null, userLogin=[GenericEntity:UserLogin][createdStamp,
2007-01-24 00:08:59.714(java.sql.Timestamp)][createdTxStamp,
2007-01-24 00:08:59.675(java.sql.Timestamp)][currentPassword,FFFFFF
(java.lang.String)][disabledDateTime,2007-07-01 05:26:39.731
(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N
(java.lang.String)][isSystem,null()][lastCurrencyUom,null()]
[lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2007-10-21
03:35:55.318(java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-21
03:35:55.318(java.sql.Timestamp)][partyId,admin(java.lang.String)]
[passwordHint,null()][requirePasswordChange,N(java.lang.String)]
[successiveFailedLogins,0(java.lang.Long)][userLoginId,admin
(java.lang.String)], responseMessage=success,
dataResourceTypeId=ELECTRONIC_TEXT}]: Unknown parameter found:
[createDataResource.hasPermission]Unknown parameter found:
[createDataResource.responseMessage]] calling service
createSimpleTextContent in createSimpleTextContentForProduct
Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com
o:801.649.6594
f:801.649.6595
Re: Content Permissions
Posted by Tim Ruppert <ti...@hotwaxmedia.com>.
I had to make some slight revs for it to work because of the other
1.5 changes, but it's now working - thanks for the pointer Adrian -
big help.
Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com
o:801.649.6594
f:801.649.6595
On Oct 22, 2007, at 6:26 PM, Tim Ruppert wrote:
> Thanks Adrian - this was broken right when I updated :) I will
> grab this patch and apply it for this particular version.
>
> Cheers,
> Tim
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>
> On Oct 22, 2007, at 6:02 PM, Adrian Crum wrote:
>
>> Rev 586938 is what you need.
>>
>>
>> Adrian Crum wrote:
>>
>>> Tim,
>>> There was a commit that occurred over the weekend that broke some
>>> of the service dispatcher stuff. It was fixed later on. Depending
>>> on when you updated, you may have picked up the bad version.
>>> I checked the service in the error message - I haven't touched
>>> that service, and it doesn't call anything I've been working on.
>>> -Adrian
>>> Tim Ruppert wrote:
>>>> Since I upgrade this weekend, I'm having an issue with a user in
>>>> production not being able to add new content via the catalog
>>>> manager -> Product -> Content subpane. Not sure what it is, but
>>>> it looks to be related to some of the refactoring that's been
>>>> going on around perms :)
>>>>
>>>> All seed data has been updated - Adrian, is there some other
>>>> perm that I missed that needs to be granted to these people so
>>>> they don't end up with a stack trace that looks like the following:
>>>>
>>>>
>>>>
>>>> The Following Errors Occurred:
>>>>
>>>> ERROR: Could not complete the Create Simple Text Content [file:/
>>>> BLAH/applications/content/script/org/ofbiz/content/content/
>>>> ContentServices.xml#createSimpleTextContent] process [problem
>>>> invoking the [createDataResource] service with the map named
>>>> [createSimpleTextDataResource] containing [{locale=en_US,
>>>> timeZone=sun.util.calendar.ZoneInfo[id="America/
>>>> Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,trans
>>>> itions=235,lastRule=java.util.SimpleTimeZone[id=America/
>>>> Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startY
>>>> ear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTim
>>>> e=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWe
>>>> ek=1,endTime=7200000,endTimeMode=0]], hasPermission=true,
>>>> dataTemplateTypeId=FTL, localeString=null, userLogin=
>>>> [GenericEntity:UserLogin][createdStamp,2007-01-24 00:08:59.714
>>>> (java.sql.Timestamp)][createdTxStamp,2007-01-24 00:08:59.675
>>>> (java.sql.Timestamp)][currentPassword,FFFFFF(java.lang.String)]
>>>> [disabledDateTime,2007-07-01 05:26:39.731(java.sql.Timestamp)]
>>>> [enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)]
>>>> [isSystem,null()][lastCurrencyUom,null()][lastLocale,null()]
>>>> [lastTimeZone,null()][lastUpdatedStamp,2007-10-21 03:35:55.318
>>>> (java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-21 03:35:55.318
>>>> (java.sql.Timestamp)][partyId,admin(java.lang.String)]
>>>> [passwordHint,null()][requirePasswordChange,N(java.lang.String)]
>>>> [successiveFailedLogins,0(java.lang.Long)][userLoginId,admin
>>>> (java.lang.String)], responseMessage=success,
>>>> dataResourceTypeId=ELECTRONIC_TEXT}]: Unknown parameter found:
>>>> [createDataResource.hasPermission]Unknown parameter found:
>>>> [createDataResource.responseMessage]] calling service
>>>> createSimpleTextContent in createSimpleTextContentForProduct
>>>>
>>>> Cheers,
>>>> Tim
>>>> --
>>>> Tim Ruppert
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> o:801.649.6594
>>>> f:801.649.6595
>>>>
>>>>
>>
>
Re: Content Permissions
Posted by Tim Ruppert <ti...@hotwaxmedia.com>.
Thanks Adrian - this was broken right when I updated :) I will grab
this patch and apply it for this particular version.
Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com
o:801.649.6594
f:801.649.6595
On Oct 22, 2007, at 6:02 PM, Adrian Crum wrote:
> Rev 586938 is what you need.
>
>
> Adrian Crum wrote:
>
>> Tim,
>> There was a commit that occurred over the weekend that broke some
>> of the service dispatcher stuff. It was fixed later on. Depending
>> on when you updated, you may have picked up the bad version.
>> I checked the service in the error message - I haven't touched
>> that service, and it doesn't call anything I've been working on.
>> -Adrian
>> Tim Ruppert wrote:
>>> Since I upgrade this weekend, I'm having an issue with a user in
>>> production not being able to add new content via the catalog
>>> manager -> Product -> Content subpane. Not sure what it is, but
>>> it looks to be related to some of the refactoring that's been
>>> going on around perms :)
>>>
>>> All seed data has been updated - Adrian, is there some other perm
>>> that I missed that needs to be granted to these people so they
>>> don't end up with a stack trace that looks like the following:
>>>
>>>
>>>
>>> The Following Errors Occurred:
>>>
>>> ERROR: Could not complete the Create Simple Text Content [file:/
>>> BLAH/applications/content/script/org/ofbiz/content/content/
>>> ContentServices.xml#createSimpleTextContent] process [problem
>>> invoking the [createDataResource] service with the map named
>>> [createSimpleTextDataResource] containing [{locale=en_US,
>>> timeZone=sun.util.calendar.ZoneInfo[id="America/
>>> Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,transi
>>> tions=235,lastRule=java.util.SimpleTimeZone[id=America/
>>> Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startYe
>>> ar=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=
>>> 7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=
>>> 1,endTime=7200000,endTimeMode=0]], hasPermission=true,
>>> dataTemplateTypeId=FTL, localeString=null, userLogin=
>>> [GenericEntity:UserLogin][createdStamp,2007-01-24 00:08:59.714
>>> (java.sql.Timestamp)][createdTxStamp,2007-01-24 00:08:59.675
>>> (java.sql.Timestamp)][currentPassword,FFFFFF(java.lang.String)]
>>> [disabledDateTime,2007-07-01 05:26:39.731(java.sql.Timestamp)]
>>> [enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)]
>>> [isSystem,null()][lastCurrencyUom,null()][lastLocale,null()]
>>> [lastTimeZone,null()][lastUpdatedStamp,2007-10-21 03:35:55.318
>>> (java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-21 03:35:55.318
>>> (java.sql.Timestamp)][partyId,admin(java.lang.String)]
>>> [passwordHint,null()][requirePasswordChange,N(java.lang.String)]
>>> [successiveFailedLogins,0(java.lang.Long)][userLoginId,admin
>>> (java.lang.String)], responseMessage=success,
>>> dataResourceTypeId=ELECTRONIC_TEXT}]: Unknown parameter found:
>>> [createDataResource.hasPermission]Unknown parameter found:
>>> [createDataResource.responseMessage]] calling service
>>> createSimpleTextContent in createSimpleTextContentForProduct
>>>
>>> Cheers,
>>> Tim
>>> --
>>> Tim Ruppert
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> o:801.649.6594
>>> f:801.649.6595
>>>
>>>
>
Re: Content Permissions
Posted by Adrian Crum <ad...@hlmksw.com>.
Rev 586938 is what you need.
Adrian Crum wrote:
> Tim,
>
> There was a commit that occurred over the weekend that broke some of the
> service dispatcher stuff. It was fixed later on. Depending on when you
> updated, you may have picked up the bad version.
>
> I checked the service in the error message - I haven't touched that
> service, and it doesn't call anything I've been working on.
>
> -Adrian
>
> Tim Ruppert wrote:
>
>> Since I upgrade this weekend, I'm having an issue with a user in
>> production not being able to add new content via the catalog manager
>> -> Product -> Content subpane. Not sure what it is, but it looks to
>> be related to some of the refactoring that's been going on around
>> perms :)
>>
>> All seed data has been updated - Adrian, is there some other perm that
>> I missed that needs to be granted to these people so they don't end up
>> with a stack trace that looks like the following:
>>
>>
>>
>> The Following Errors Occurred:
>>
>> ERROR: Could not complete the Create Simple Text Content
>> [file:/BLAH/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createSimpleTextContent]
>> process [problem invoking the [createDataResource] service with the
>> map named [createSimpleTextDataResource] containing [{locale=en_US,
>> timeZone=sun.util.calendar.ZoneInfo[id="America/Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],
>> hasPermission=true, dataTemplateTypeId=FTL, localeString=null,
>> userLogin=[GenericEntity:UserLogin][createdStamp,2007-01-24
>> 00:08:59.714(java.sql.Timestamp)][createdTxStamp,2007-01-24
>> 00:08:59.675(java.sql.Timestamp)][currentPassword,FFFFFF(java.lang.String)][disabledDateTime,2007-07-01
>> 05:26:39.731(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2007-10-21
>> 03:35:55.318(java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-21
>> 03:35:55.318(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,N(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)],
>> responseMessage=success, dataResourceTypeId=ELECTRONIC_TEXT}]: Unknown
>> parameter found: [createDataResource.hasPermission]Unknown parameter
>> found: [createDataResource.responseMessage]] calling service
>> createSimpleTextContent in createSimpleTextContentForProduct
>>
>> Cheers,
>> Tim
>> --
>> Tim Ruppert
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> o:801.649.6594
>> f:801.649.6595
>>
>>
>
>
Re: Content Permissions
Posted by Adrian Crum <ad...@hlmksw.com>.
Tim,
There was a commit that occurred over the weekend that broke some of the service dispatcher stuff.
It was fixed later on. Depending on when you updated, you may have picked up the bad version.
I checked the service in the error message - I haven't touched that service, and it doesn't call
anything I've been working on.
-Adrian
Tim Ruppert wrote:
> Since I upgrade this weekend, I'm having an issue with a user in
> production not being able to add new content via the catalog manager ->
> Product -> Content subpane. Not sure what it is, but it looks to be
> related to some of the refactoring that's been going on around perms :)
>
> All seed data has been updated - Adrian, is there some other perm that I
> missed that needs to be granted to these people so they don't end up
> with a stack trace that looks like the following:
>
>
>
> The Following Errors Occurred:
>
> ERROR: Could not complete the Create Simple Text Content
> [file:/BLAH/applications/content/script/org/ofbiz/content/content/ContentServices.xml#createSimpleTextContent]
> process [problem invoking the [createDataResource] service with the map
> named [createSimpleTextDataResource] containing [{locale=en_US,
> timeZone=sun.util.calendar.ZoneInfo[id="America/Chicago",offset=-21600000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/Chicago,offset=-21600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],
> hasPermission=true, dataTemplateTypeId=FTL, localeString=null,
> userLogin=[GenericEntity:UserLogin][createdStamp,2007-01-24
> 00:08:59.714(java.sql.Timestamp)][createdTxStamp,2007-01-24
> 00:08:59.675(java.sql.Timestamp)][currentPassword,FFFFFF(java.lang.String)][disabledDateTime,2007-07-01
> 05:26:39.731(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2007-10-21
> 03:35:55.318(java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-21
> 03:35:55.318(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,N(java.lang.String)][successiveFailedLogins,0(java.lang.Long)][userLoginId,admin(java.lang.String)],
> responseMessage=success, dataResourceTypeId=ELECTRONIC_TEXT}]: Unknown
> parameter found: [createDataResource.hasPermission]Unknown parameter
> found: [createDataResource.responseMessage]] calling service
> createSimpleTextContent in createSimpleTextContentForProduct
>
> Cheers,
> Tim
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>