[1.5][Bug] Registered Users can't create albums [1.5][Bug] Registered Users can't create albums
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[1.5][Bug] Registered Users can't create albums

Started by Alu, February 06, 2010, 02:29:01 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Alu

We just changed from coppermine 1.4 to 1.5 and noticed a new problem with JUpload:

While registered Users can create albums manually, they cant do it in JUpload.
And if they create an album outside of JUpload, they can't see it in JUpload.

I think the problem is, when they create an album, the album is still set to "users can upload files - (no)"
With normal file upload the album creator is still able to add pictures to the album, while JUpload doesnt show the album in the selection.

papukaija

QuoteThe cpg1.5.x series is currently still in beta stage and goes completely unsupported (that's why there is no button on the cpg1.5.x support board that enables you to start a new thread - only the support forum has been created in advance to have a structure to refer to from within the documentation). Unsupported means: you're not allowed to ask a question about cpg1.5.x at all.
(from Public release of cpg1.5.2 (beta) )

Alu


phill104

#3
Of course it is allowed but please file a bug report as outlined here. Just to give the author more info to go on.

http://documentation.coppermine-gallery.net/en/testing.htm
It is a mistake to think you can solve any major problems just with potatoes.

etienne_sf

Hi,

  My understanding is that this is a bug relative to JUpload.

So, thanks to Alu,I'll have the opportunity to correct this one.

Actually, I've added this to my todo list. I'm building a new release of the applet, and adding a lot of unit testing. I guess this correction is not urgent, and is more a report so that I'm aware of it.


It's Ok for me.


Regards
Etienne

Αndré

Here are some more informations.

1. If you create an album in the user gallery with JUpload, you can upload pictures with JUpload. Standard upload is also possible with that album, but it breaks after the redirect to editpics.php. Additionally the album won't be displayed under 'My gallery'.
-> Reason: in the pictures table the owner is set wrong (in my case the user has id 4, but in the database is inserted 1). That column was added in cpg1.5.x.

2. If you create an album in the user gallery with Coppermine, you can upload pictures with JUpload.
-> Okay.

3. Since cpg1.5.x it's possible that regular users create albums in the public gallery. JUpload doesn't display them in the category select box.
-> Result: It's not possible to create a public album and it's not possible to select a public album which has been created with the Coppermine album manager.
-> Reason: in cpg1.5.x there is a new table categorymap, which JUpload disregards (I haven't checked the code, but I think that's the reason). In that table are stored the permissions for public categories.


Regards
André

etienne_sf

Excellent !

  Thanks for this analysis, André.    :)


  You're puttin pressure on me (hum, French expression, I guess you know it ...). I'll have to solve this one quickly. I have a running on task, for the applet alone.
  I finish this taks, and I'll then switch to this correction...

Etienne

Αndré


etienne_sf

Hi,

  You're right to 'awake' me here.

I'm fighting with compilation detail for the applet, and I'm tired there..


  Ok, I'll take a temporary (but valid) and release a new version for the Coppermine plugin quickly.

Etienne

etienne_sf

Hi,

  These one were quite heavy to manage. Lots of impact.

Now solved, out of one: creation of album in the 'no category' category doesn't work.


Please check the 4.1.0.

Etienne

Αndré

Hi Etienne,

looks good so far. Will perform some thorough tests later (hopefully today).


Good work!